Boost logo

Boost :

Subject: Re: [boost] [uuids] On boost::uuids::uuid operator == performance.
From: Michael Kochetkov (michael.kv_at_[hidden])
Date: 2012-04-16 13:44:50

> > I do remember that at least memcpy intrinsic worked pretty smart in
> > that compiler.
> It does.
> I think I see what's going on. memcmp has to return -1, 0 or 1. This is
why it
> does an initial DWORD loop to find the first mismatch, then does a byte
> compare to determine the return value.
Thank you for pointing it out. Frankly speaking being busy with finding out
the attitude of the boost people towards the problem I have really skipped
the rest of generated code that have probably made the MS compiler to look a
little bit smarter than it really is.

Michael Kochetkov

Boost list run by bdawes at, gregod at, cpdaniel at, john at