]> Cypherpunks repositories - gostls13.git/commit
debug/gosym: add funcTab abstraction
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 4 Oct 2021 21:49:42 +0000 (14:49 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 4 Oct 2021 22:59:44 +0000 (22:59 +0000)
commit78c2529d73fbd2e2213c9f03862bcf2aaa86d78b
treebd035f705dbeaf35236d2ba0320069a88dc38438
parent199ec4235000a51518802ce822447df5901c7df5
debug/gosym: add funcTab abstraction

This clarifies the existing code and makes modifications easier.

name            old time/op    new time/op    delta
115/LineToPC-8    58.6µs ± 3%    56.4µs ± 3%  -3.80%  (p=0.000 n=15+15)
115/PCToLine-8     194ns ± 2%     188ns ± 2%  -3.31%  (p=0.000 n=15+15)

Change-Id: Iafdf57af93d5e3c145965c32e0227e37c69ab017
Reviewed-on: https://go-review.googlesource.com/c/go/+/353880
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/debug/gosym/pclntab.go