Skip to content

Conversation

@kevin-dp
Copy link
Contributor

@kevin-dp kevin-dp commented Jul 7, 2025

This PR reverts the changes to the index from #69
This means we are keeping the consolidated multiplicity instead of an array of multiplicities that needs to be consolidated at compaction time. By keeping a map of consolidated values it is cheaper to get a value's multiplicity, which is important for the efficient topK operator from #72

Copy link
Contributor

@samwillis samwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Needs a changeset

@kevin-dp kevin-dp merged commit 47e33ab into main Jul 7, 2025
1 check passed
@kevin-dp kevin-dp deleted the kevin/index-map branch July 7, 2025 14:39
cursor bot pushed a commit to samwillis/d2ts that referenced this pull request Jul 13, 2025
* Revert back to map implementation of index

* Modify index tests to no longer assert uncompacted form

* Remove obsolete comments

* changeset

* Refactor reduce

* Update changeset
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.

3 participants