Fredrik Lundh wrote:
IIRC, Skip had developed a smart version that returned lazy string objects that kept a reference and pointers to the original string (instead of making its own copy of the string components). The string subclass would expand itself and free the reference if necessary for a subsequent string operation. The main purpose was to handle the cases where one fragment of the other was never used or just had a length check. Also it was helpful when partition was used lisp-style to repeatedly break-off head/tail fragments. > are these still valid? > > http://mail.python.org/pipermail/python-dev/2005-August/055764.html > http://mail.python.org/pipermail/python-dev/2005-August/055770.html Yes. Raymond |
_______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
