
2 May
2010
2 May
'10
4:37 p.m.
On 2 May 2010 10:58, Chad Nelson <chad.thecomfychair@gmail.com> wrote:
I've been assuming that the copy-on-write was responsible for the major part of the speed difference, but after thinking about it, that doesn't make a lot of sense. The serialized access to the random number generator could be responsible for a good part of it. The tests I based that assumption on used it heavily. I'll run some further tests when I have a chance today to see how they turn out.
Why do you have a global random number generator at all? Boost.Random doesn't provide one, so I don't see why you should either.