Skip to content

Switched from unboxed vector for length calculation for AutoPad#163

Merged
webdevred merged 6 commits intomasterfrom
formatting-no-unboxed-vector
Mar 9, 2026
Merged

Switched from unboxed vector for length calculation for AutoPad#163
webdevred merged 6 commits intomasterfrom
formatting-no-unboxed-vector

Conversation

@webdevred
Copy link
Owner

No description provided.

@webdevred webdevred added the performance Performance improvement, run benchmarks label Mar 3, 2026
Replace the list-based knownNodeNames with a Set, and notElem with S.notMember, reducing lookup cost from O(n) to O(log n) per beam endpoint.
Avoid transposing formattedColumns into row-major formattedRows, which allocated O(n) extra vectors per table. Look up cache[col][row] instead of cache[row][col] to match the existing column-major layout.
@webdevred webdevred merged commit d15a249 into master Mar 9, 2026
12 checks passed
@webdevred webdevred deleted the formatting-no-unboxed-vector branch March 9, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance improvement, run benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant