[Patch] libstdc++/16612
Paolo Carlini
pcarlini@suse.de
Mon Sep 27 19:08:00 GMT 2004
Hi all,
the below is what I have tested (with Benjamin's help) as a stop-gap fix
for the applications outlined in PR 16612: indeed, we have tested it
together with the soon-to-be-contributed shared memory allocator.
If --enable-fully-dynamic-string is passed at build time, the empty-string
optimization is completely disabled: this means that there are no major
performance disadvantages after construction time, only the empty string
construction becomes slower, roughly the same speed of a generic size-1 or
2 construction, in other terms. This seems sufficient for the applications
cited in the PR.
For v7, where the ABI can be breaked, *many* other options are possible,
which we'll be exploring in the next weeks...
I will wait 'til tomorrow in case of problematic comments.
Paolo.
///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_16612
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040927/0f427ddb/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_draft_16612_string_only
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040927/0f427ddb/attachment-0001.ksh>
More information about the Libstdc++
mailing list