mirror of
https://github.com/golang/go
synced 2024-10-02 18:18:33 -06:00
d42495aa80
This makes it possible to inline the prefetch of upcoming memory addresses during garbage collection, instead of needing to flush registers, make a function call, and reload registers. On garbage collection-heavy workloads, this results in a 5% speedup. Fixes #3493. R=dvyukov, ken, r, dave CC=golang-dev https://golang.org/cl/5990066
5 lines
46 B
C
5 lines
46 B
C
enum {
|
|
thechar = '5',
|
|
CacheLineSize = 32
|
|
};
|