[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 30 03:45:26 CEST 2006


Jim Jewett wrote:

Why is it essential that string views be a different type, rather than an internal implementation detail, like long vs int?

We're talking about a more abstract notion of "type" here. Strings and views are different things with different performance characteristics, so it's important to know which one you're getting, whether they're implemented as different type()s or not.

-- Greg



More information about the Python-3000 mailing list