[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 30 02:35:17 CEST 2006
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
Having views in a library module alleviates many of my objections. While I still worry that it will be overused, deque doesn't seem to be overused, so perhaps I should relax.
Another thought is that there will already be ways in which Py3k views could lead to inefficiencies if they're not used carefully. A keys() view of a dict, for example, will keep the values of the dict alive as well as the keys, unlike the existing keys() method.
-- Greg
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]