Skip to content

feat: sparse representation for empty columns - #2171

Merged
DavePearce merged 1 commit into
mainfrom
2170-feat-sparse-representation-for-empty-columns
Sep 1, 2026
Merged

feat: sparse representation for empty columns#2171
DavePearce merged 1 commit into
mainfrom
2170-feat-sparse-representation-for-empty-columns

Conversation

@DavePearce

Copy link
Copy Markdown
Contributor

No description provided.

@DavePearce DavePearce linked an issue Aug 21, 2026 that may be closed by this pull request
@DavePearce
DavePearce force-pushed the 2170-feat-sparse-representation-for-empty-columns branch 3 times, most recently from 126521d to f90c297 Compare August 21, 2026 23:43
@DavePearce
DavePearce force-pushed the 2170-feat-sparse-representation-for-empty-columns branch 5 times, most recently from dc42156 to 95f754b Compare August 31, 2026 05:55
@DavePearce
DavePearce enabled auto-merge (squash) August 31, 2026 09:07
This updates the way data is stored within the trace columns by
introducing a sparse representation for padding.  Specifically, each
column now maintains a "start" position which identifies where the real
trace begins, and padding ends.  Also, this adds support for columns
which are all a single constant (excluding padding).

In addition, this refactors the trace implementation itself to remove
unnecessary interfaces, and provide a clean and immutable notion of
trace.  This required separating out the notion of trace builder from
the final trace itself.  Specifically, a MutArray now only supports
Append() for adding more rows.

Finally, the updates the trace stats reporting.

NOTE: a key outstand cause of memory inefficiency currently lies with
the memory log itself.  This will need to be optimised sensibly in order
to manage overall memory requirements.

Signed-off-by: DavePearce <dave01001110@gmail.com>
@DavePearce
DavePearce force-pushed the 2170-feat-sparse-representation-for-empty-columns branch from 1593629 to 45ee904 Compare August 31, 2026 22:07
@DavePearce
DavePearce merged commit 3a2ab38 into main Sep 1, 2026
22 checks passed
@DavePearce
DavePearce deleted the 2170-feat-sparse-representation-for-empty-columns branch September 1, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: sparse representation for empty columns

2 participants