3 ms·
You might want to measure it before you optimize it! Oftentimes I find that forks where I don't write much are quite inexpensive, with little COW action.
by greglindahl 9y ago
You might want to measure it before you optimize it! Oftentimes I find that forks where I don't write much are quite inexpensive, with little COW action.
- amelius 9y agoYou could be right. Also, could it be that Intel's cache hierarchy plays some really smart tricks behind the scenes, to make this fast?