summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2015-05-18 16:07:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-18 23:08:53 +0000
commit1dfbd1030bd04e76ba41bff933cd2d8fc6d1e3f0 (patch)
tree39858e938e4c0b9278d6f5825e506798526d4cc4 /BUILD.gn
parentc36d372598ce9766bd53e756d5d1ebae3b4a0500 (diff)
downloadchromium_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