Comment by greglindahl
8 years 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.
8 years 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.
You could be right.
Also, could it be that Intel's cache hierarchy plays some really smart tricks behind the scenes, to make this fast?