On Wed, Aug 24, 2022 at 7:03 PM Jonathan Wakely wrote:
>
> On Wed, 24 Aug 2022 at 23:47, Jonathan Wakely wrote:
> >
> > On Wed, 24 Aug 2022 at 23:39, Alexandre Oliva wrote:
> > >
> > > On Aug 24, 2022, Jonathan Wakely via Gcc-patches
> > > wrote:
> > >
> > > >* include/bits/basic_s
On Wed, 24 Aug 2022 at 23:47, Jonathan Wakely wrote:
>
> On Wed, 24 Aug 2022 at 23:39, Alexandre Oliva wrote:
> >
> > On Aug 24, 2022, Jonathan Wakely via Gcc-patches
> > wrote:
> >
> > >* include/bits/basic_string.h (operator+(const string&,
> > > const char*)):
> > >Re
On Wed, 24 Aug 2022 at 23:39, Alexandre Oliva wrote:
>
> On Aug 24, 2022, Jonathan Wakely via Gcc-patches
> wrote:
>
> >* include/bits/basic_string.h (operator+(const string&,
> > const char*)):
> >Remove naive implementation.
> >* include/bits/basic_string.tc
On Aug 24, 2022, Jonathan Wakely via Gcc-patches
wrote:
>* include/bits/basic_string.h (operator+(const string&,
> const char*)):
>Remove naive implementation.
>* include/bits/basic_string.tcc (operator+(const string&,
> const char*)):
>Add single-
On Wed, 24 Aug 2022 at 07:17, Will Hawkins wrote:
>
> Until now operator+(char*, string) and operator+(string, char*) had
> different performance characteristics. The former required a single
> memory allocation and the latter required two. This patch makes the
> performance equal.
>
> libstdc++-v3
On Wed, 24 Aug 2022 at 07:18, Will Hawkins wrote:
>
> On Tue, Aug 23, 2022 at 12:33 PM Jonathan Wakely wrote:
> >
> > On Mon, 22 Aug 2022 at 19:15, Will Hawkins wrote:
> > >
> > > Until now operator+(char*, string) and operator+(string, char*) had
> > > different performance characteristics. The
On Tue, Aug 23, 2022 at 12:33 PM Jonathan Wakely wrote:
>
> On Mon, 22 Aug 2022 at 19:15, Will Hawkins wrote:
> >
> > Until now operator+(char*, string) and operator+(string, char*) had
> > different performance characteristics. The former required a single
> > memory allocation and the latter req
From: Will Hawkins
Until now operator+(char*, string) and operator+(string, char*) had
different performance characteristics. The former required a single
memory allocation and the latter required two. This patch makes the
performance equal.
libstdc++-v3/ChangeLog:
* libstdc++-v3/include
On Mon, 22 Aug 2022 at 19:15, Will Hawkins wrote:
>
> Until now operator+(char*, string) and operator+(string, char*) had
> different performance characteristics. The former required a single
> memory allocation and the latter required two. This patch makes the
> performance equal.
If you don't ha
From: Will Hawkins
Until now operator+(char*, string) and operator+(string, char*) had
different performance characteristics. The former required a single
memory allocation and the latter required two. This patch makes the
performance equal.
libstdc++-v3/ChangeLog:
* libstdc++-v3/include
After consultation with Jonathan, we realized that there was a missed
optimization opportunity in the implementation of the various forms of
operator+ for string.
operator+(char *, string) required a single allocation but
operator+(string, char*) required two. This patch attempts to change that
a
11 matches
Mail list logo