Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-07 Thread Martin Sebor
wonder if it's a function of the allocator in glibc. Martin -- Mark -Original Message- From: [EMAIL PROTECTED] Sent: Sun, 05 Aug 2007 21:28:30 -0600 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow Looks like ezmlm stripped th

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-07 Thread Martin Sebor
he allocator in glibc. Martin -- Mark -Original Message- From: [EMAIL PROTECTED] Sent: Sun, 05 Aug 2007 21:28:30 -0600 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow Looks like ezmlm stripped the grap attached to my previous post

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-07 Thread Martin Sebor
is a dip around 128 as expected so I wonder if it's a function of the allocator in glibc. Martin -- Mark -Original Message- From: [EMAIL PROTECTED] Sent: Sun, 05 Aug 2007 21:28:30 -0600 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] for STDCXX-491 - string::push_back

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-06 Thread Mark Brown
2007 21:28:30 -0600 > To: stdcxx-dev@incubator.apache.org > Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow > > Looks like ezmlm stripped the grap attached to my previous post so > I attached it to the issue instead: > > http://issues.apache.org/jira/secur

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-05 Thread Martin Sebor
Farid Zaripov wrote: -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor Sent: Tuesday, July 24, 2007 7:40 AM To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow mark.g.brown wrote: Hi all, The att

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-08-05 Thread Martin Sebor
t: Re: [PATCH] for STDCXX-491 - string::push_back() slow mark.g.brown wrote: Hi all, The attached simple patch speeds up push_back() nearly six times relative to stdcxx 4.1.3 and makes it more than twice faster that gcc's. Let me test your patch for regressions and if it passes I'll comm

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-07-24 Thread Martin Sebor
Farid Zaripov wrote: -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor Sent: Tuesday, July 24, 2007 7:40 AM To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow mark.g.brown wrote: Hi all, The

RE: [PATCH] for STDCXX-491 - string::push_back() slow

2007-07-24 Thread Farid Zaripov
> -Original Message- > From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor > Sent: Tuesday, July 24, 2007 7:40 AM > To: stdcxx-dev@incubator.apache.org > Subject: Re: [PATCH] for STDCXX-491 - string::push_back() slow > > mark.g.brown wrote: >

Re: [PATCH] for STDCXX-491 - string::push_back() slow

2007-07-23 Thread Martin Sebor
mark.g.brown wrote: Hi all, The attached simple patch speeds up push_back() nearly six times relative to stdcxx 4.1.3 and makes it more than twice faster that gcc's. Wow, that's a pretty impressive improvement! Thanks for the patch! It makes sense to optimize this case instead of being lazy an

[PATCH] for STDCXX-491 - string::push_back() slow

2007-07-22 Thread mark.g.brown
Hi all, The attached simple patch speeds up push_back() nearly six times relative to stdcxx 4.1.3 and makes it more than twice faster that gcc's. $ time ./push_back-stdcxx-patched 5 real0m2.800s user0m1.676s sys 0m1.084s $ time ./push_back-stdcxx-4.1.3 5 real0m