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: JayBizzle/Crawler-Detect
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: JayBizzle/Crawler-Detect
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: claude/optimize-regex-testing-P9RZa
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 0 files changed
  • 1 contributor

Commits on Mar 6, 2026

  1. Optimize regex collision test from O(n²) to O(n)

    Instead of testing each pattern against every other pattern individually
    (~2M preg_match calls), combine all other patterns into a single regex
    and test once per pattern (1,427 calls). Uses the same implode technique
    already used in CrawlerDetect::compileRegex().
    
    https://claude.ai/code/session_01WGabPTL71kt1patAP8ViPK
    claude committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    bdf8351 View commit details
    Browse the repository at this point in the history
  2. Revert "Optimize regex collision test from O(n²) to O(n)"

    This reverts commit bdf8351.
    claude committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    5b8a81e View commit details
    Browse the repository at this point in the history
Loading