• jgruber's avatar
    [regexp] Shortcut case-folding of entire non-bmp range · 4735f85f
    jgruber authored
    When the range of all non-bmp characters is passed to
    AddUnicodeCaseEquivalents, icu::UnicodeSet::closeOver dutifully tries to
    case-fold every single character in that range. Since we already know
    this to be a nop, we can simply return instead.
    
    This improves compilation time of /ui regexps by around 100x.
    
    Bug: v8:6727
    Change-Id: I79d73c77d6a54cbb5ad2cad0355214ed712b59b9
    Reviewed-on: https://chromium-review.googlesource.com/635303
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47636}
    4735f85f
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
OWNERS Loading commit data...
bytecodes-irregexp.h Loading commit data...
interpreter-irregexp.cc Loading commit data...
interpreter-irregexp.h Loading commit data...
jsregexp-inl.h Loading commit data...
jsregexp.cc Loading commit data...
jsregexp.h Loading commit data...
regexp-ast.cc Loading commit data...
regexp-ast.h Loading commit data...
regexp-macro-assembler-irregexp-inl.h Loading commit data...
regexp-macro-assembler-irregexp.cc Loading commit data...
regexp-macro-assembler-irregexp.h Loading commit data...
regexp-macro-assembler-tracer.cc Loading commit data...
regexp-macro-assembler-tracer.h Loading commit data...
regexp-macro-assembler.cc Loading commit data...
regexp-macro-assembler.h Loading commit data...
regexp-parser.cc Loading commit data...
regexp-parser.h Loading commit data...
regexp-stack.cc Loading commit data...
regexp-stack.h Loading commit data...
regexp-utils.cc Loading commit data...
regexp-utils.h Loading commit data...