Boost logo

Boost :

Subject: Re: [boost] [beast] Formal review
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-10 17:52:31

Andrey Semashev wrote:
> On 07/10/17 19:57, Phil Endecott via Boost wrote:
> > I thought I'd have a look at that. Your code has a fast-path that
> > attempts to check 8 bytes at a time by masking with 0x8080808080808080.
> > I agree that that is probably a useful optimisation which a compiler is
> > unlikely to apply by itself.
> I wouldn't be so quick to agree. Modern compilers tend to be able to
> vectorize simple loops quite efficiently.

Try it.

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