Skip to content

Conversation

@jakobevangelista
Copy link
Contributor

Description

Optimizes the existing aggregate expression matching system by replacing slice-based storage with compressed Roaring Bitmaps and implementing 64-way sharded locking. This provides a 48.8% performance improvement while maintaining complete functional compatibility

Performance Results

Metric Before After Improvement
Throughput 1,444,932 ns/op 739,618 ns/op 48.8% faster
Memory 1,781,165 B/op 1,687,928 B/op 5.2% less
Allocations 21,635 allocs/op 19,418 allocs/op 10.2% fewer
Evaluation Time 8.56ms 2.59ms 70% faster

Copy link
Contributor

@tonyhb tonyhb left a comment

Choose a reason for hiding this comment

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

a-mazing. a+ stuff.

@jakobevangelista jakobevangelista merged commit 250dd9c into main Aug 27, 2025
2 checks passed
@jakobevangelista jakobevangelista deleted the jakob/vibe-bitmaps branch August 27, 2025 21:04
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