nx_slicebench.nx
buildroot/runtime/nx_slicebench.nx
about
Cost of the SLICE bounds check over heap memory. Same shape and same workload as
nx_bounds_perf.nx so the two are directly comparable, and the same shape as the Rust arm in
_ops/nxlang_r1/h2h/slice.rs -- Rust's &[T] also carries a length and checks it, which makes
that the like-for-like comparison.
dependencies 1 imports · 0 importers
imports: nx_fmt.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 6 | const N_ELEM: i64 = 1024 |
| 7 | const N_ITER: i64 = 20000 |
functions
| 8 | func main() -> i64 |