[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)
Ron Adam rrr at ronadam.com
Thu Aug 31 06:27:27 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 ]
Josiah Carlson wrote:
If views are always returned, then we can perform some optimizations (adjacent view concatenation, etc.), which may reduce running time, memory use, etc. d
Given a empty string and a view to it, how much memory do you think a view object will take in comparison to the string object?
Wouldn't there be a minimum size of a string where it would be better to just copy the string?
- 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 ]