Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Issue 632713002: Don't use identity as hash function for integers. (Closed)

Created:
6 years, 2 months ago by Benedikt Meurer
Modified:
6 years, 2 months ago
Reviewers:
Jarin
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Don't use identity as hash function for integers. Also slightly improve hashing of floats/doubles. TEST=unittests R=jarin@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24420

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M src/base/functional.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/base/functional.cc View 2 chunks +15 lines, -2 lines 0 comments Download
M test/unittests/base/functional-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Benedikt Meurer
6 years, 2 months ago (2014-10-06 15:09:38 UTC) #1
Benedikt Meurer
PTAL
6 years, 2 months ago (2014-10-06 15:09:58 UTC) #2
Jarin
lgtm
6 years, 2 months ago (2014-10-06 15:20:36 UTC) #3
Benedikt Meurer
6 years, 2 months ago (2014-10-06 15:24:09 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 24420 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698