Python example: possible speedup?

Hrvoje Niksic hniksic at srce.hr
Thu Sep 9 07:02:15 EDT 1999


Timothy R Evans <tre17 at pc142.cosc.canterbury.ac.nz> writes:

> I had a very similar problem, I have this University project to
> visualise the Debian package file, so I needed to read in into
> useful language (C was discard as fast but too much work).  The read
> tiem was really slow, so I only do it once.  After loading the file
> and creating a data structure that stores the information, I pickle
> it.  Read time drops by an order of magnitude.  Not so applicable to
> your situation possibly but you could use it if you don't install
> new packages often.

Thanks for the suggestion.  However, I do install new packages often,
so that's not really an option.




More information about the Python-list mailing list