[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] upcoming 2.1.4-alpha Libevent release
On Mon, Mar 17, 2014 at 4:39 PM, Ralph Castain <rhc@xxxxxxxxxxxx> wrote:
> Is this code snippet in a critical path?? If not, I'd be in favor of retaining the obvious code than try to grind thru this optimization
My lord... You'd think I was talking religion when I only made a
comment about an observation.
I officially redact the comment.
Jeff
> On Mar 17, 2014, at 1:36 PM, Jeffrey Walton <noloader@xxxxxxxxx> wrote:
>
>> On Mon, Mar 17, 2014 at 4:27 PM, james <james@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>> On 17/03/2014 19:45, Jeffrey Walton wrote:
>>>>
>>>> That's 4 OR's, 1 shift an 1 compare versus 8 compares.
>>>
>>> What on earth is the point of replacing a verbose-but-obvious code sequence
>>> with a crafty one, to save a trivial time and space, when immediately prior
>>> we just did an sscanf? Have you tried timing sscanf?
>> No, but I can't make sscanf any faster.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.