Phase 10_6b scheduler complete; 10_4 GC hooks + counting/strict tracing; 10_c minimal JIT path (i64/bool consts, binop/compare/return, hostcall opt-in); docs & examples; add Phase 10.7 roadmap (JIT branch wiring + minimal ABI).
This commit is contained in:
12
examples/jit_map_param_call.nyash
Normal file
12
examples/jit_map_param_call.nyash
Normal file
@ -0,0 +1,12 @@
|
||||
// Param-map JIT HostCall PoC
|
||||
box Utils {
|
||||
getMapSize(m) {
|
||||
return m.size()
|
||||
}
|
||||
}
|
||||
|
||||
m = new MapBox()
|
||||
m.set("a", 1)
|
||||
m.set("b", 2)
|
||||
u = new Utils()
|
||||
print(u.getMapSize(m))
|
||||
Reference in New Issue
Block a user