|
Sujet : [blabla@olympe] Le topic du modo, dieu de la fibre et du monde |
| 0x90 |
masklinn a écrit :
http://docs.python.org/dev/whatsnew/node7.html
Enfin [:jar jar]
Citation :
When they were introduced in Python 2.4, the built-in set and frozenset types were built on top of Python's dictionary type. In 2.5 the internal data structure has been customized for implementing sets, and as a result sets will use a third less memory and are somewhat faster. (Implemented by Raymond Hettinger.)
|
[:jar jar] aussi :o
|
The net result of the 2.5 optimizations is that Python 2.5 runs the pystone benchmark around XXX% faster than Python 2.4. [:0x90]
( c'est un peu laid la conditionnal expression, j'aurais plutot généralisé le if en fin de ligne que de faire un cas spécial ptêtre ) |