Skip to content
This repository was archived by the owner on Dec 18, 2021. It is now read-only.
This repository was archived by the owner on Dec 18, 2021. It is now read-only.

RFC: use @assert instead of custom assertion #2

@Roger-luo

Description

@Roger-luo

@assert can be optimized out by compiler and can be disabled in the future:

JuliaLang/julia#25576

we can change methods like assert_addr_inbounds to is_addrs_inbounds and use an @assert

Update:

Unfortunately, it is not optimized out yet. But there would be options for this. I'll keep the original for now. But I'll just leave this issue open to remind us.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions