• Leszek Swirski's avatar
    [string] Unify String::IsEqualTo · 0df6a208
    Leszek Swirski authored
    Make String::IsEqualTo use a direct string shape dispatch and a direct
    call to CompareChars, rather than splitting the behaviour over
    IsOneByte/IsTwoByte/HasOneBytePrefix. Avoiding GetFlatContent will make
    this method easier to make efficient while staying string-access-lock
    safe.
    
    Also, redefines the sequential string table key's matcher in terms of
    this IsEqualTo method.
    
    Change-Id: Iab71246e12044ebaeff06f0dbc14d28b3482dcbe
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2557979
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71378}
    0df6a208
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
bootstrapper.cc Loading commit data...
bootstrapper.h Loading commit data...
heap-symbols.h Loading commit data...
icu_util.cc Loading commit data...
icu_util.h Loading commit data...
isolate-allocator.cc Loading commit data...
isolate-allocator.h Loading commit data...
setup-isolate-deserialize.cc Loading commit data...
setup-isolate-full.cc Loading commit data...
setup-isolate.h Loading commit data...
startup-data-util.cc Loading commit data...
startup-data-util.h Loading commit data...
v8.cc Loading commit data...
v8.h Loading commit data...