Y
Hacker News
new
|
ask
|
show
|
jobs
by
nulltrace
71 days ago
This clicks for message parsing too. Had field lookups in a std::map, fine until throughput climbed. Flat sorted array fixed it. Turns out cache prefetch actually kicks in when you give it sequential scans.