The doc says :
"A performance killer is the usage of the built-in functions map and
However, if the function used in map is a core builtin like int or str,
psyco does not seem to run slower than regular Python. Maybe in this
case it does not try to compile the function.
map(str, mylist) was faster than [str(x) for x in mylist] in this case.
Thus maybe map can be used with psyco on the condition of using only
functions like int or str ? It is quite useful. If this is the case, the docs
could need an update...
my email :
Log in to post a comment.