Showing content from http://mail.python.org/pipermail/python-dev/attachments/20130213/cad9f55c/attachment-0001.html below:
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 13.02.13 02:09, Alexandre Vassalotti
wrote:<br>
</div>
<blockquote
cite="mid:CANcUUefKXH1tgzqAZ9V9okd2GjCki8ZJDy06Tedm4gAJtL0OQw@mail.gmail.com"
type="cite">
<div dir="ltr">On Tue, Feb 12, 2013 at 1:44 PM, Antoine Pitrou <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">It's
idiomatic because strings are immutable (by design, not
because of<br>
an optimization detail) and therefore concatenation *has*
to imply<br>
building a new string from scratch.<br>
</blockquote>
<div><br>
</div>
<div style="">Not necessarily. It is totally possible to
implement strings such they are immutable and
 concatenation takes O(1): ropes are the canonical example
of this.</div>
</div>
</div>
</div>
</blockquote>
<br>
Ropes have been implemented by Carl-Friedrich Bolz in 2007 as I
remember.<br>
No idea what the impact was, if any at all.<br>
Would ropes be an answer (and a simple way to cope with string
mutation<br>
patterns) as an alternative implementation, and therefore still
justify<br>
the usage of that pattern?<br>
<pre class="moz-signature" cols="72">--
Christian Tismer :^) <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14482 Potsdam : PGP key -> <a class="moz-txt-link-freetext" href="http://pgp.uni-mainz.de">http://pgp.uni-mainz.de</a>
phone +49 173 24 18 776 fax +49 (30) 700143-0023
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
</body>
</html>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4