Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Jan 14, 2025

Description of Changes

By making Table.indexes keyed over IndexId instead of ColList, this reduces the number of map lookups with the new query engine, as well as the IndexId based module ABIs. There are some remaining uses of ColList based index searches, but these are typically not hot, and can be further simplified in the future.

The main motivation beyond the above is also to facilitate the implementation of the update ABI.

API and ABI breaking changes

None

Expected complexity level and risk

3 -- this is local to the datastore, but there are some transactionality interactions to review.

Testing

Existing tests are updated to fit the new regime.

@Centril Centril force-pushed the centril/index-key-by-id branch from 55abea9 to 2a9eed3 Compare January 14, 2025 15:11
@Centril Centril marked this pull request as draft January 14, 2025 15:20
@Centril Centril force-pushed the centril/index-key-by-id branch from 2a9eed3 to 77fc966 Compare January 14, 2025 15:24
@Centril Centril requested a review from gefjon January 15, 2025 18:57
@Centril Centril marked this pull request as ready for review January 15, 2025 18:57
@Centril Centril requested a review from coolreader18 January 16, 2025 18:50
@Centril Centril enabled auto-merge January 17, 2025 18:20
@Centril Centril added this pull request to the merge queue Jan 17, 2025
Merged via the queue into master with commit 6f428f3 Jan 17, 2025
9 checks passed
@Centril Centril deleted the centril/index-key-by-id branch January 17, 2025 19:08
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