diff options
author | vmpstr <vmpstr@chromium.org> | 2015-05-18 16:07:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-18 23:08:53 +0000 |
commit | 1dfbd1030bd04e76ba41bff933cd2d8fc6d1e3f0 (patch) | |
tree | 39858e938e4c0b9278d6f5825e506798526d4cc4 /BUILD.gn | |
parent | c36d372598ce9766bd53e756d5d1ebae3b4a0500 (diff) | |
download | chromium_src-1dfbd1030bd04e76ba41bff933cd2d8fc6d1e3f0.zip chromium_src-1dfbd1030bd04e76ba41bff933cd2d8fc6d1e3f0.tar.gz chromium_src-1dfbd1030bd04e76ba41bff933cd2d8fc6d1e3f0.tar.bz2 |
cc: Optimize the tile map key hash for 4-byte size_t.
This patch changes the hash function for the tile map key to use
16 least significant bits from each index. This makes it faster on
systems where sizeof(size_t) == 4.
The collisions would only start happening after a large enough index.
This makes the TilingSetRasterQueueConstructAndIterate test do
about 10% more iterations per second on N4.
BUG=488636
R=enne, danakj
Review URL: https://codereview.chromium.org/1133243010
Cr-Commit-Position: refs/heads/master@{#330448}
Diffstat (limited to 'BUILD.gn')
0 files changed, 0 insertions, 0 deletions