This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, serhiy.storchaka, vstinner
Date 2013-04-03.00:02:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364947372.15.0.247305470278.issue16757@psf.upfronthosting.co.za>
In-reply-to
Content
Related commit:

changeset:   83066:b5d5f422299f
tag:         tip
user:        Victor Stinner <victor.stinner@gmail.com>
date:        Wed Apr 03 01:48:39 2013 +0200
files:       Include/unicodeobject.h Lib/test/test_format.py Objects/stringlib/unicode_format.h Objects/unicodeobject.c
description:
Add _PyUnicodeWriter_WriteSubstring() function

Write a function to enable more optimizations:

 * If the substring is the whole string and overallocation is disabled, just
   keep a reference to the string, don't copy characters
 * Avoid a call to the expensive _PyUnicode_FindMaxChar() function when
   possible
History
Date User Action Args
2013-04-03 00:02:52vstinnersetrecipients: + vstinner, ezio.melotti, serhiy.storchaka
2013-04-03 00:02:52vstinnersetmessageid: <1364947372.15.0.247305470278.issue16757@psf.upfronthosting.co.za>
2013-04-03 00:02:52vstinnerlinkissue16757 messages
2013-04-03 00:02:51vstinnercreate