Boost logo

Boost :

Subject: Re: [boost] [uuids] On boost::uuids::uuid operator == performance.
From: Peter Dimov (pdimov_at_[hidden])
Date: 2012-04-15 20:25:15

Michael Kochetkov wrote:
> inline
> bool comp(const boost::uuids::uuid& l, const boost::uuids::uuid& r) {
> return *reinterpret_cast<const uint32_t*>( ==


I could've sworn that memcmp is smart enough on MSVC to do these unrolled
DWORD compares for small sizes, but it isn't. I wonder why I got that

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