False sharing
Closed this issue · 1 comments
ronag commented
Would be a good idea to put the read and write indices 64 bytes apart so that they are on different cache lines. This will avoid trashing the cpu cache due to false sharing.
mcollina commented
I've benchmarked this and I didn't found any measurable difference. I guess this is too far out to matter from JS.