diff options
| author | Keith Randall <khr@golang.org> | 2022-05-06 18:40:17 -0700 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2022-08-08 16:57:48 +0000 |
| commit | c3833a55433f4b2981253f64444fe5c3d1bc910a (patch) | |
| tree | 3b2b04ae9c99f415f5626877acb50e14980fc618 /src/internal/pkgbits/decoder.go | |
| parent | b589208c8cc6e08239868f47e12c1449cd797bac (diff) | |
| download | go-c3833a55433f4b2981253f64444fe5c3d1bc910a.tar.xz | |
runtime: process ptr bitmaps one word at a time
Read the bitmaps one uintptr at a time instead of one byte at a time.
Performance so far:
Allocation heavy, no retention: ~30% faster in heapBitsSetType
Scan heavy, ~no allocation: ~even in scanobject
Change-Id: I40d492b50d7f89d1b4261c2de58f6d255fa5e93e
Reviewed-on: https://go-review.googlesource.com/c/go/+/407036
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/internal/pkgbits/decoder.go')
0 files changed, 0 insertions, 0 deletions
