Function application optimization.

Peter Otten __peter__ at web.de
Fri Dec 12 11:06:36 EST 2003


Peter Otten wrote:

> for index, func in enumerate(fncs):
>     args[index] = func[index]

Oops,
      args[index] = func(args[index])

And it's much slower than result.append(func(args[index]), too :-(

Peter





More information about the Python-list mailing list