mirror of
https://github.com/golang/go
synced 2024-11-19 23:04:40 -07: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 = '8',
|
|
CacheLineSize = 64
|
|
};
|