Skip to content

perf: Optimize arm64 & macos grep & general unindexed grep#566

Merged
gustav-fff merged 1 commit into
mainfrom
feat/optimzie-bigram-index
Jun 4, 2026
Merged

perf: Optimize arm64 & macos grep & general unindexed grep#566
gustav-fff merged 1 commit into
mainfrom
feat/optimzie-bigram-index

Conversation

@dmtrKovalenko
Copy link
Copy Markdown
Owner

No description provided.

Vectorize bigram byte normalization (AVX2 on x86_64, auto-vectorized
scalar elsewhere). Route grep through a P-core-sized, QoS-pinned rayon
pool to avoid E-core drag and VFS-lock contention on asymmetric chips.
Grow grep chunk size geometrically when the bigram prefilter is weak to
bound rayon barrier count on large unindexed candidate sets.
@dmtrKovalenko dmtrKovalenko force-pushed the feat/optimzie-bigram-index branch from 858fa7c to 3152ac2 Compare June 4, 2026 07:44
@gustav-fff gustav-fff merged commit 4da1a22 into main Jun 4, 2026
45 checks passed
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