summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-12-29 15:17:41 -0700
committerKarl Williamson <khw@cpan.org>2018-01-30 11:38:12 -0700
commitab1efbdc1f74b2f4db076efa0b4d54f387d74efe (patch)
treeda39d5489067deb739629d9f5168a8c1d8426c56 /embed.fnc
parent6a40c2e4e2dc26eb6ad39caf87cebef0743b90e7 (diff)
downloadperl-ab1efbdc1f74b2f4db076efa0b4d54f387d74efe.tar.gz
regexec.c: Use word-at-a-time to repeat a single byte pattern
There is special code in the function regrepeat() to handle instances where the pattern to repeat is a single byte. These all can be done word-at-a-time to significantly increase the performance of long repeats.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index b0aef4220a..c06d1b81fd 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2532,6 +2532,7 @@ ERp |bool |_is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *stren
ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character
ERns |char *|find_next_ascii|NN char* s|NN const char * send|const bool is_utf8
ERns |char *|find_next_non_ascii|NN char* s|NN const char * send|const bool is_utf8
+ERns |char *|find_span_end |NN char* s|NN const char * send|const char span_byte
ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
WERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
|NN const regnode *p \