]> Cypherpunks repositories - gostls13.git/commit
runtime: add specialized copies of growWork and evacuate
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 19 Aug 2017 04:13:09 +0000 (21:13 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 28 Aug 2017 18:00:03 +0000 (18:00 +0000)
commit4cf7f909c670e9f6aa3b81aec74ee1cf14e2ca51
tree2aa4369b54c2df0707f09a7567435e38ad0dced8
parent9e7b30b463bf6834f9ff01a33b60508984c47d20
runtime: add specialized copies of growWork and evacuate

The newly added routines are exact copies of the generic routines,
except for the function names and that growWork_fastX calls evacuate_fastX.

Actual optimization will happen in subsequent CLs.
This is intended to ease reviewing.

Change-Id: I52ef7dd40b2bdfc9cba2496544c0604e6e71cf7f
Reviewed-on: https://go-review.googlesource.com/59130
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/hashmap_fast.go