aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/exec
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-09-07 09:57:22 -0400
committerRuss Cox <rsc@golang.org>2010-09-07 09:57:22 -0400
commitd4cc557b0d61ac02d0ff153ecd643867e803ed1f (patch)
treec8301a638fd5010bb90b6a6d415ec371c74ba3ce /src/pkg/exec
parent6f5f558c101a5948f1d90007fe93159804743bb6 (diff)
downloadgo-d4cc557b0d61ac02d0ff153ecd643867e803ed1f.tar.xz
runtime: use manual stack for garbage collection
Old code was using recursion to traverse object graph. New code uses an explicit stack, cutting the per-pointer footprint to two words during the recursion and avoiding the standard allocator and stack splitting code. in test/garbage: Reduces parser runtime by 2-3% Reduces Peano runtime by 40% Increases tree runtime by 4-5% R=r CC=golang-dev https://golang.org/cl/2150042
Diffstat (limited to 'src/pkg/exec')
0 files changed, 0 insertions, 0 deletions