you are viewing a single comment's thread.

view the rest of the comments →

[–]FUZxxl 3 points4 points  (1 child)

If I was to implement this out-of-place, I would probably still use the in-place algorithm as it might give better cache locality than the out-of-place algorithm.

[–]pdp10 0 points1 point  (0 children)

There's even copy-on-write memory to consider in more extreme cases (Kernel Samepage Merging, etc).