Skip to content

Index protobuf map lookups lazily#928

Merged
snazy merged 1 commit into
projectnessie:mainfrom
snazy:idx-proto-map-lu
Jul 21, 2026
Merged

Index protobuf map lookups lazily#928
snazy merged 1 commit into
projectnessie:mainfrom
snazy:idx-proto-map-lu

Conversation

@snazy

@snazy snazy commented Jul 21, 2026

Copy link
Copy Markdown
Member

Keep protobuf map fields scan-based for the first lookup, then build a CEL-value index for repeated lookups.

This avoids repeated O(n) scans for repeated map access while preserving missing-key and unsigned-key behavior.

Keep protobuf map fields scan-based for the first lookup, then build a CEL-value index for repeated lookups.

This avoids repeated O(n) scans for repeated map access while preserving missing-key and unsigned-key behavior.
@snazy
snazy requested a review from XN137 July 21, 2026 08:00
@snazy
snazy merged commit a8aa2c0 into projectnessie:main Jul 21, 2026
3 checks passed
@snazy
snazy deleted the idx-proto-map-lu branch July 21, 2026 13:06
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.

2 participants