Convert string to command..

Abandoned besturk at gmail.com
Thu Oct 18 11:47:14 EDT 2007


On Oct 18, 6:35 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> Abandoned wrote:
> > On Oct 18, 6:14 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> >> 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
>
> > 173.000 dict elements and it tooks 2.2 seconds this very big time for
> > my project
>
> Where does the data come from?
>
> Diez

Data come from database..
I want to cache to speed up my system and i save the dictionary to
database for speed up but eval is very slow for do this.
Not: 2.2 second only eval operation.




More information about the Python-list mailing list