diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2016-07-05 10:33:50 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2016-08-16 00:22:13 +0000 |
| commit | 3357a02b74fea42c3348de83af81900c6623f584 (patch) | |
| tree | 020ff73393710b69fa358f6531e75121faf9c3b5 /src/encoding/json/example_test.go | |
| parent | 4e24e1d9996b0b0155c8349e49244d9694c89708 (diff) | |
| download | go-3357a02b74fea42c3348de83af81900c6623f584.tar.xz | |
math/big: use array instead of slice for deBruijn lookups
This allows the compiler to remove a bounds check.
math/big/nat.go:681: index bounds check elided
math/big/nat.go:683: index bounds check elided
Change-Id: Ieecb89ec5e988761b06764bd671672015cd58e9d
Reviewed-on: https://go-review.googlesource.com/26663
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/json/example_test.go')
0 files changed, 0 insertions, 0 deletions
