Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 22:28:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 165970] [libc] [patch] strtonum() optimization
Message-ID:  <bug-165970-8-8dXwPpTzZ1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-165970-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-165970-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165970

--- Comment #9 from Pedro F. Giffuni <pfg@FreeBSD.org> ---
(In reply to Pedro F. Giffuni from comment #7)
> Created attachment 146180 [details]
> Update for newer libc
> 
> I brought a small cosmetic change from OpenBSD so the patch needed an update.
> (I haven't tested it yet).

For reference: I took the OpenBSD regression test (strtonumtest.c) and looped
the tests 100000 times. With the patch we still pass the tests and I was able
to measure a steady 7% performance improvement.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-165970-8-8dXwPpTzZ1>