On Mar 17, 2014, at 1:44 PM, Jeffrey Walton <[email protected]> wrote:
> On Mon, Mar 17, 2014 at 4:39 PM, Ralph Castain <[email protected]> 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. Geez, Jeff - nobody is shooting at you. We're just asking questions about your proposal to try and understand it better :-/ I don't even know where this snippet sits...which is why I asked my question. > > Jeff > >> On Mar 17, 2014, at 1:36 PM, Jeffrey Walton <[email protected]> wrote: >> >>> On Mon, Mar 17, 2014 at 4:27 PM, james <[email protected]> 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 [email protected] with > unsubscribe libevent-users in the body. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
