init.luau
Versions
Every version of this package its world published, newest first by when it first appeared. A version published again later keeps its place.
Comparing from 01KXQQ08P9486YTB6SDZ1YGBKJ. Pick the version to compare it with. Cancel
event_loop: loop:bodies() live-coroutine census (weak spawn registry); interpreter: parkResumeCount pairs with parkCount for orphaned-park attribution
01KXQQ08P9486YTB6SDZ1YGBKJ9d8cda50b6Browse filesPickedperf+fix: O(n) array seeding (arraySeed), harden bridge host-call settlement, budget-park slices land one per pump frame - runtime: rt.arraySeed seeds a fresh array O(1)/element; newArray uses it (rawSet key scan made array construction O(n^2)) - bridge: toJs marshals arrays via arraySeed; a failed deliver() now rejects the promise and balances endHostCall instead of orphaning it - event_loop: runDueTimers only runs timers armed before the pass; a zero-delay re-arm (budget-parked body resume) runs next pass, so sliced async bodies spread across frames instead of coalescing into one unbounded pass - interpreter: realm park stats (parkCount, lastParkStack) - tests: pass-snapshot rule, interval catch-up, sliced-body completion under runAsync
01KXQJ0TM71T6XMK7N1QMHKRY981a53acb2aBrowse filesCompare with this versiondocs: zerojs phase 3 plan — event loop, Promise, async/await, timers --- zerojs: event loop core — microtasks, timers, clock, queueMicrotask --- zerojs: Promise --- zerojs: async functions return promises, await suspends --- zerojs: async functions return promises, await suspends --- zerojs: timers + runAsync frame pump + budget yielding --- zerojs: one runAsync in flight per VM --- zerojs: yielding env functions surface as JS promises --- zerojs: phase 3 complete — event loop, Promise, async/await, timers
01KWQHHQDZD436JKK9B5PDWW2D3e0064739bBrowse filesCompare with this version