commit | 498c6180fb8e7993176e089ac9225f0357d1a21a | [log] [tgz] |
---|---|---|
author | Adenilson Cavalcanti <[email protected]> | Wed Aug 09 21:45:01 2017 |
committer | Commit Bot <[email protected]> | Wed Aug 09 21:45:01 2017 |
tree | 2ceb46a9d727819e4248ee128d960614369d7674 | |
parent | fbc0f51dff2bd3c64bd63a6a1931404852a3ebef [diff] |
Specialized character type constructors to improve ShapeCache hashing This allows to avoid copying text runs character-per-character for 16bits text. Also there is no need to hash per character, just hash the whole string in one go. This also helps to save the construction of a StringHasher object (as we use the static method to hash the strings). Bug: 735674 Change-Id: I5221ea9722970f4d977924ad3183fa73097c4184 Reviewed-on: https://chromium-review.googlesource.com/604215 Reviewed-by: Emil A Eklund <[email protected]> Commit-Queue: Adenilson Cavalcanti <[email protected]> Cr-Commit-Position: refs/heads/master@{#493152}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .