]> Cypherpunks repositories - gostls13.git/commit
runtime: speed up stack copying a little
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 1 Oct 2017 06:06:49 +0000 (23:06 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 15 Feb 2018 15:06:34 +0000 (15:06 +0000)
commit605c9feeb15d4e7c5a07d1170c1b8c38e9a265fe
tree8db154bc018d0f40b6b99ee4b49164c928b22066
parent910d232a28bfddbb6efdf3a2381946c314517694
runtime: speed up stack copying a little

Remove a branch and a stack spill.

name                old time/op  new time/op  delta
StackCopy-8         79.2ms ± 1%  79.1ms ± 2%    ~     (p=0.063 n=96+95)
StackCopyNoCache-8   121ms ± 1%   120ms ± 2%  -0.46%  (p=0.000 n=97+88)

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