3 ms·
I already explained it. Noone implements memory barriers in its safe variants, only compiler barriers. And the trivial variants work byte-wise, not word-wise,
by rurban 8y ago
I already explained it. Noone implements memory barriers in its safe variants, only compiler barriers.
And the trivial variants work byte-wise, not word-wise, which is usually 8x slower.