Repository navigation
Fix table.insert arity and return values across Lua profiles - #166
Conversation
Benchmark Comparison DeltasLower values are better for mean, P95, GC collections, and allocated bytes. Positive deltas mean NovaSharp is above the comparison row or self baseline. External comparison rows are apples-to-apples: NovaSharp and the comparison runtimes are restored, built, and benchmarked in the same workflow job on the same runner.
Phase A0 ScoreboardThis scoreboard is the compact Phase A0 view: rows are benchmark scenarios/operations, and columns show NovaSharp current, NovaSharp baseline, MoonSharp, NLua, Lua-CSharp, and reference
Scoreboard Time
Scoreboard Memory and GCGC columns are collections per 1,000 operations. Reference
Same-Run Runtime MatrixEach row is one scenario/operation from the same BenchmarkDotNet comparison run. NovaSharp values are raw results; external columns show raw results plus the NovaSharp delta against that runtime. Runtime Context
NovaSharp Raw ResultsThis table repeats NovaSharp's own same-run values in a narrow form before the wider cross-runtime delta matrix.
Time
Memory and GCGC columns are collections per 1,000 operations.
Self Baseline ComparisonsNo checked-in self baseline artifacts were found at Changed beyond tolerance: yes. Self-regression signal: no. Generated by benchmark CI (run logs). |
Code Coverage
Generated by coverage.ps1 |
Lua Comparison ReportInput artifacts:
Unexpected deltas are mismatches, one-sided outputs, missing outputs, or new/changed/missing both-error ratchet entries. Unexpected deltas: no. Regression signal: no. Generated by Lua comparison CI (run logs). |
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
Fixes #160.
table.insertselects append or positional insertion by normalized Lua argument count. Both forms return zero values, and the positional form accepts an explicit nil. They share versioned length conversion and integer width. Positional insertion preserves the reference bounds and shifts sparse ranges without scanning absent keys.The arity fixture failed on the base in all five profiles. The append and positional length fixtures each failed in four profiles before their respective review fixes. The final change passed 231 focused TableModule tests, 15,744 full quick tests, CSharpier, pre-commit, and the enforced Lua 5.1–5.5 corpus. Independent probes verified signed and unsigned bounds and exact wide keys. Docker and a Unity player were unavailable locally.
Release note
Fixed Lua
table.insertto honor explicit nil, argument count, and zero return values across all supported Lua profiles.The separate indexed-access and proxy behavior is tracked in #162.