Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coregx/coregex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.11
Choose a base ref
...
head repository: coregx/coregex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.12.12
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 17, 2026

  1. perf: prefix trimming for >32 incomplete literals — Teddy instead of AC

    When literal extraction produces >32 incomplete prefix literals (e.g.,
    225 case-fold expanded variants), trim to 4-byte prefixes and deduplicate.
    This reduces literal count to fit Teddy (≤32 patterns, SIMD fast) instead
    of falling through to Aho-Corasick (slower sequential scan).
    
    Skip for AllComplete literals (exact matches) — those go to Teddy/AC directly.
    
    LangArena suspicious pattern:
    - Before: 225 literals → AC prefilter → 117ms
    - After: 17 literals → Teddy SIMD → 10.9ms (10.7x faster, 1.8x from Rust)
    kolkov committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    5c9b182 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13a82e9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #141 from coregx/feature/prefix-trimming

    perf: prefix trimming for case-fold literals — Teddy instead of AC
    kolkov authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    ee2d823 View commit details
    Browse the repository at this point in the history
Loading