Skip to content

v0.0.15: large tables

Choose a tag to compare

@ianm199 ianm199 released this 29 May 16:49
· 159 commits to main since this release
d7d87a6

Raises the table entry cap from 1M to 16M so large tables build instead of failing with not enough memory.

  • Fixes #37: a 10M-element array (for i = 1, 10000000 do t[i] = i end) now builds in ~0.2s. Previously it died at ~1M entries.
  • The cap still bounds an unbounded for i = 1, math.huge loop so it terminates with a clean memory error rather than running forever.
  • Adds large-table regression tests (2M array + 2M string keys). 33/33 conformance.