_primes_bitpacked_inline.nx
buildroot/runtime/_primes_bitpacked_inline.nx
about
_primes_bitpacked_inline.nx -- bit-packed sieve with MANUALLY inlined bit ops.
Same algorithm as _primes_bitpacked.nx, but all bit-get / bit-set
calls are inlined into the hot loop -- substrate backend doesn't
aggressively inline so we do it by hand.
dependencies 1 imports · 0 importers
imports: syscalls.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
| 9 | const SIEVE_SIZE: i64 = 1000000 |
| 10 | const N_PASSES: i64 = 100 |
functions
| 12 | func one_pass(buf: *u8, half: i64, byte_count: i64) -> i64 called by 1: main |
| 64 | func main() -> i64 calls 1: one_pass |