Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(40)

Issue 7029053: code review 7029053: runtime: Use SipHash-2-4 for hashmaps. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by mdempsky
Modified:
11 years, 1 month ago
Reviewers:
khr
CC:
golang-dev
Visibility:
Public.

Description

runtime: Use SipHash-2-4 for hashmaps on amd64. Fixes issue 4604.

Patch Set 1 #

Patch Set 2 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Patch Set 3 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Patch Set 4 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Total comments: 8

Patch Set 5 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Patch Set 6 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Patch Set 7 : diff -r d0d76b7fb219 https://code.google.com/p/go #

Patch Set 8 : diff -r be6ca9f6bfe8 https://code.google.com/p/go #

Patch Set 9 : diff -r be6ca9f6bfe8 https://code.google.com/p/go #

Patch Set 10 : diff -r be6ca9f6bfe8 https://code.google.com/p/go #

Patch Set 11 : diff -r 8906cf341c9b https://code.google.com/p/go #

Patch Set 12 : diff -r fc9545bf5a1f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -99 lines) Patch
M src/cmd/gc/subr.c View 1 2 3 4 5 6 7 8 9 6 chunks +11 lines, -23 lines 0 comments Download
M src/pkg/runtime/alg.c View 1 2 3 4 5 6 7 8 7 chunks +16 lines, -47 lines 0 comments Download
A src/pkg/runtime/alg_simple.c View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download
A src/pkg/runtime/alg_siphash.c View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +215 lines, -0 lines 0 comments Download
M src/pkg/runtime/hashmap.c View 1 2 3 4 5 5 chunks +5 lines, -8 lines 0 comments Download
M src/pkg/runtime/iface.c View 1 2 3 4 5 6 7 2 chunks +12 lines, -13 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +26 lines, -8 lines 0 comments Download
M src/pkg/runtime/runtime.c View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13
mdempsky
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 8 months ago (2013-01-04 01:46:50 UTC) #1
mdempsky
Like I said in the description, this was mostly for proof-of-concept and personal exercise. It ...
12 years, 8 months ago (2013-01-04 01:51:34 UTC) #2
dave_cheney.net
I think there are some map benchmarks in the runtime package. If not, I think ...
12 years, 8 months ago (2013-01-04 01:57:46 UTC) #3
dsymonds
On Fri, Jan 4, 2013 at 12:57 PM, Dave Cheney <dave@cheney.net> wrote: > Without trying ...
12 years, 8 months ago (2013-01-04 02:00:57 UTC) #4
dave_cheney.net
Some minor stylistic comments. I think benchmarks for int, string and time.Time in the ranges ...
12 years, 8 months ago (2013-01-04 02:11:58 UTC) #5
mdempsky
On Thu, Jan 3, 2013 at 6:00 PM, David Symonds <dsymonds@golang.org> wrote: > On Fri, ...
12 years, 8 months ago (2013-01-04 02:22:09 UTC) #6
mdempsky
I'll look into benchmarks. https://codereview.appspot.com/7029053/diff/9001/src/pkg/runtime/alg.c File src/pkg/runtime/alg.c (right): https://codereview.appspot.com/7029053/diff/9001/src/pkg/runtime/alg.c#newcode8 src/pkg/runtime/alg.c:8: // XXX(mdempsky): cc doesn't optimize ...
12 years, 8 months ago (2013-01-04 02:27:25 UTC) #7
dsymonds
On Fri, Jan 4, 2013 at 1:21 PM, Matthew Dempsky <mdempsky@google.com> wrote: >> In particular, ...
12 years, 8 months ago (2013-01-04 02:30:52 UTC) #8
pmylund
Thanks for submitting this. You were quicker than me :) This is issue 4604: http://code.google.com/p/go/issues/detail?id=4604 ...
12 years, 8 months ago (2013-01-04 03:24:10 UTC) #9
rsc
As I mentioned on the bug, I'd like to put this on hold until after ...
12 years, 8 months ago (2013-01-18 21:40:17 UTC) #10
mdempsky
On 2013/01/18 21:40:17, rsc wrote: > As I mentioned on the bug, I'd like to ...
12 years, 8 months ago (2013-01-18 21:44:16 UTC) #11
rsc
You can clear the R= line but keep the CC= line, by using hg change ...
12 years, 8 months ago (2013-01-18 21:49:24 UTC) #12
khr
12 years, 2 months ago (2013-07-22 19:36:07 UTC) #13
R=close

This change is obsoleted by the aeshash implementation (CL 7543043).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b