ladybird/Userland/Libraries/LibRegex
Brian Gianforcaro fdea5e1628 LibRegex: Pass RegexStringView and Vector<RegexStringView> by reference
Flagged by pvs-studio, it looks like these were intended to be passed by
reference originally, but it was missed. This avoids excessive argument
copy when searching / matching in the regex API.

Before:

    Command: /usr/Tests/LibRegex/Regex --bench
    Average time: 5998.29 ms (median: 5991, stddev: 102.18)

After:

    Command: /usr/Tests/LibRegex/Regex --bench
    Average time: 5623.2 ms (median: 5623, stddev: 86.25)
2021-09-16 17:17:13 +02:00
..
C LibRegex+LibC: Make re_nsub available to the user 2021-07-13 07:04:06 +02:00
CMakeLists.txt LibRegex: Add a basic optimization pass 2021-09-13 14:38:53 +04:30
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp LibRegex: Add a basic optimization pass 2021-09-13 14:38:53 +04:30
RegexByteCode.h LibRegex: Avoid excessive Vector copy when compiling regexps 2021-09-14 21:33:15 +04:30
RegexBytecodeStreamOptimizer.h LibRegex: Avoid excessive Vector copy when compiling regexps 2021-09-14 21:33:15 +04:30
RegexDebug.h LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexError.h LibRegex+LibUnicode: Begin implementing Unicode property escapes 2021-07-30 21:26:31 +01:00
RegexLexer.cpp LibRegex: Allow null bytes in pattern 2021-08-30 18:43:09 +02:00
RegexLexer.h LibRegex: Convert regex::Lexer to inherit from GenericLexer 2021-08-19 23:49:25 +02:00
RegexMatch.h LibRegex: Add a basic optimization pass 2021-09-13 14:38:53 +04:30
RegexMatcher.cpp LibRegex: Set a signpost on every executed regular expression 2021-09-13 14:38:53 +04:30
RegexMatcher.h LibRegex: Pass RegexStringView and Vector<RegexStringView> by reference 2021-09-16 17:17:13 +02:00
RegexOptimizer.cpp LibRegex: Make the optimizer understand references and capture groups 2021-09-15 15:52:28 +04:30
RegexOptions.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00
RegexParser.cpp LibRegex: Avoid using GenericLexer::consume() when at eof 2021-09-14 22:02:25 +02:00
RegexParser.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00