svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2011-11-20 Thread David Chisnall
Author: theraven Date: Sun Nov 20 14:45:42 2011 New Revision: 227753 URL: http://svn.freebsd.org/changeset/base/227753 Log: Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a load of _l suffixed versions of various standard library functions that use the global locale

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-18 Thread David Schultz
On Sun, Nov 20, 2011, David Chisnall wrote: > Author: theraven > Date: Sun Nov 20 14:45:42 2011 > New Revision: 227753 > URL: http://svn.freebsd.org/changeset/base/227753 > > Log: > Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a > load of _l suffixed versions of var

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-29 Thread David Schultz
On Wed, Jan 18, 2012, David Schultz wrote: > On Sun, Nov 20, 2011, David Chisnall wrote: > > Author: theraven > > Date: Sun Nov 20 14:45:42 2011 > > New Revision: 227753 > > URL: http://svn.freebsd.org/changeset/base/227753 > > > > Log: > > Implement xlocale APIs from Darwin, mainly for use by l

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread David Chisnall
On 18 Jan 2012, at 19:07, David Schultz wrote: > This patch appears to cause a large performance regression. For > example, I measured a 78% slowdown for strtol("42", ...). That's definitely worth taking a closer look at. I think we can cache some things in TLS and avoid some pthread_getsp

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread David Schultz
On Mon, Jan 30, 2012, David Chisnall wrote: > On 18 Jan 2012, at 19:07, David Schultz wrote: > > > This patch appears to cause a large performance regression. For > > example, I measured a 78% slowdown for strtol("42", ...). > > That's definitely worth taking a closer look at. I think we ca

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 16:26 -0500, David Schultz wrote: > On Mon, Jan 30, 2012, David Chisnall wrote: > > On 18 Jan 2012, at 19:07, David Schultz wrote: > > > > > This patch appears to cause a large performance regression. For > > > example, I measured a 78% slowdown for strtol("42", ...). >

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread Steve Kargl
On Mon, Jan 30, 2012 at 04:26:31PM -0500, David Schultz wrote: > > FreeBSD has a set of statically linked binaries in /rescue for > situations where /lib gets screwed up. Space is an issue there > because the root partition is historically sized quite small. /rescue is a single binary created wi