
2 Feb
2009
2 Feb
'09
9:20 p.m.
That's a lot of extra copying. [Edouard A.]
I don't do in place merge. I don't know if this would be faster.
What do you mean by "hidden system locks"?
[Edouard A.] If you have two or more CPUs trying to access the same cache line, locking will occur. For example, let's say you are operating near the middle with two different threads t1 & t2: ......t1..] [..t2....... ------------------------ A | A | A | B | B | B ------------------------ You have a potential (well I would say certain) false sharing because the middle is going to be on the same cache line. -- EA