Posted Feb 3, 2006 10:39 UTC (Fri) by man_ls
In reply to: Mean value
Parent article: The search for fast, scalable counters
So, just stick to the size native to the architecture. On 32-bit machines, never use more than 32 bits for the intermediate values; if you happen to be on a Z80 (not so mythical 8-bit architecture) use a max value of 255 for them.
Incrementing a 32-bit register on a 32-bit architecture is an atomic operation even on multi-processor systems, right?
to post comments)