julia
ccd9feaa - codegen: inline `Core._svec_ref` (#63918)

Commit
34 days ago
codegen: inline `Core._svec_ref` (#63918) Indexing a `SimpleVector` called the `_svec_ref` builtin, which boxes the index, while `_svec_len` was already emitted inline. Emit the bounds check and the load directly. The check stays even with `--check-bounds=no`, as in the builtin. Package loading indexes edge lists stored as `SimpleVector`s in tight loops when it verifies edges; this takes about 2.5% off loading DataFrames and OrdinaryDiffEq on master.
Parents
Loading