Re: maybe dump question

From: Aleksandar Lazic <al-haproxy#none.at>
Date: Thu, 31 Jan 2008 22:31:36 +0100


On Don 31.01.2008 20:17, Willy Tarreau wrote:
>
>No, I remember why. It is because GCC emits crappy sub-optimal code
>when put as a block.

[snipp]

>The second case is slower, awful and tends to flush pipes, not counting
>the bad cache efficiency caused by jumping everywhere. So when you have
>a small number of operations like this to perform (2..3), it's better
>to write the test 2 or 3 times, the compiler will optimize it away.

Wow, I haven't know this, thanks for education ;-)

Cheers

Aleks Received on 2008/01/31 22:31

This archive was generated by hypermail 2.2.0 : 2008/01/31 22:45 CET