Convert string to command..

Diez B. Roggisch deets at nospam.web.de
Thu Oct 18 11:14:51 EDT 2007


Abandoned wrote:

> Thanks you all answer..
> But "eval" is very slow at very big dictionary {2:3,4:5,6:19....}
> (100.000 elements)
> Is there any easy alternative ?

How big? How slow? For me, a 10000-element list takes  0.04 seconds to be
parsed. Which I find fast.

Diez



More information about the Python-list mailing list