Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Jan 8, 2026

Description of Changes

Provides common traits Index and RangedIndex that all (current) variants in TypedIndex adhere to.
This is then used to simplify TypedIndex by merging common code,
with more simplifications to come later.
The responsibility of tracking statistics is also moved into each index type, as some can exploit their properties to provide some statistics for free, rather than storing statistics in fields.

API and ABI breaking changes

None

Expected complexity level and risk

2?

Testing

This is mostly code motion, so it is covered by existing tests.
Further test improvements will come in a follow up PR.

@Centril Centril force-pushed the centril/fix-3240-index-many-same-key branch from b0a8b56 to 299a8d6 Compare January 9, 2026 11:01
@Centril Centril force-pushed the centril/index-trait branch 2 times, most recently from aae6056 to c98532d Compare January 9, 2026 13:01
@Centril Centril changed the base branch from centril/fix-3240-index-many-same-key to master January 9, 2026 13:52
@Centril Centril enabled auto-merge January 9, 2026 13:52
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