Unify fast code path to |CaseMap::ToLower, ToUpper|
With this patch, |CaseMap::ToLower, ToUpper| can use existing fast code path algorithms whenever possible, with or without |TextOffsetMap|. Redundant code is unified, all full Unicode case-mapping goes to |icu::CaseMap| API. The dromaeo benchmark looks neutral, noisy from positive 5.4% to negative 5.2%. https://pinpoint-dot-chromeperf.appspot.com/job/123853bf5c0000 https://pinpoint-dot-chromeperf.appspot.com/job/15cfedf0dc0000 The new |TextOffsetMap| is not used in the actual code path yet. Following patch will start using it to fix issue 926003. Bug: 926003, 985201 Change-Id: I7ff0c2335e8dc61b64b629364978ceba6c8fac96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722830 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#682180}
Showing
Please register or sign in to comment