ladybird/Libraries/LibRegex
Ali Mohammad Pur 3b4a184f1a
Some checks are pending
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibRegex: Avoid hashing the state hashes again
We already had a really nice hash that had a single issue, this commit
fixes that and makes it *the* hash for the hash table, so we avoid
double-hashing and making a long chain.
This is an easy 10% perf gain.
2025-04-18 17:09:27 +02:00
..
CMakeLists.txt Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Regex.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RegexByteCode.cpp LibRegex: Flatten capture group list in MatchState 2025-04-18 17:09:27 +02:00
RegexByteCode.h LibRegex: Make Match::capture_group_name an index into the string table 2025-04-14 17:40:13 +02:00
RegexBytecodeStreamOptimizer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RegexDebug.h LibRegex: Flatten capture group list in MatchState 2025-04-18 17:09:27 +02:00
RegexDefs.h LibRegex: Flatten capture group list in MatchState 2025-04-18 17:09:27 +02:00
RegexError.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RegexLexer.cpp LibRegex: Clean up #include directives 2024-11-21 14:08:33 +01:00
RegexLexer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RegexMatch.h LibRegex: Avoid hashing the state hashes again 2025-04-18 17:09:27 +02:00
RegexMatcher.cpp LibRegex: Avoid hashing the state hashes again 2025-04-18 17:09:27 +02:00
RegexMatcher.h LibRegex: Pull out the first compare to avoid unnecessary execution 2025-04-18 17:09:27 +02:00
RegexOptimizer.cpp LibRegex: Pull out the first compare to avoid unnecessary execution 2025-04-18 17:09:27 +02:00
RegexOptions.h LibRegex: Flatten capture group list in MatchState 2025-04-18 17:09:27 +02:00
RegexParser.cpp LibRegex: Flatten capture group list in MatchState 2025-04-18 17:09:27 +02:00
RegexParser.h LibRegex: Pull out the first compare to avoid unnecessary execution 2025-04-18 17:09:27 +02:00