Repository navigation
v1.0.1
Two fixes for wrong results in 1.0.0. Upgrade if you build arrays of objects in one function and read them in another, or compile with compactSlack.
Fixed
- An array of same-shaped objects built in one function and read in another (the module's top level, an export, a callback, a closure, a parameter default) gave wrong lengths and fields at the default level,
'speed'and'size':const ps = init(4)read 8 items of2.78e-307,undefinedwhere Node reads1,2 2,3 3,4 4,5.optimize: falsewas not affected. - A loop that compacts memory and gives each iteration's memory back could free data still in use after its own compaction: wrong results seen under
compactSlack: 4096; the default setting has the same window.
Full Changelog: v1.0.0...v1.0.1