optimization question

Steve Holden sholden at holdenweb.com
Mon Aug 12 18:25:28 EDT 2002


"Andrew Koenig" <ark at research.att.com> wrote in message
news:yu994rdzaig3.fsf at europa.research.att.com...
> Steve> Yes, it could. It could then, however, hardly be called "one of the
> Steve> standard, builtin, Python sequence types" :-)
>
> Doesn't string qualify?
>

Only before you subclass it to optimize slicing. Then it's a
user-implemented subtype :-) Not sure about buffer, though. That might
qualify.

let's-not-split-too-many-hairs-ly y'rs  -steve
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list