code wiki / _hdl_build / nx_research_grow_full.nx
nx_research_grow_full.nx
buildroot/runtime/_hdl_build/nx_research_grow_full.nx
about
nx_research_grow_full.nx -- ECOSYSTEM-NATIVE driver: grow the researcher index until it has caught up to the
whole fetched corpus, WITHOUT any shell loop (operator: no sh / no 3rd party -- the repetition itself is a Nishi
organ). It forks nx_research_grow as a fresh process each pass (so every pass is OOM-safe -- the toolchain has
no munmap, so one giant process would leak; many bounded passes do not), then reads the growth-ledger artifact
(loose coupling -- it consumes grow's output, never reaches into grow) to detect caught-up (last line new=0).
Stops at caught-up or GF_MAX passes. expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_search_inverted_persist.nxnx_itoa_lib.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
| 10 | const GF_MAX: i64 = 40 // safety cap on passes (40*50 = 2000 docs >> corpus) |
functions
| 12 | func gf_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } called by 1: main |
| 17 | func gf_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 20 | func gf_run(organ: *u8) -> i64 |
| 44 | func gf_last_unique() -> i64 |
| 67 | func main() -> i64 |