cPickle alternative?

Drochom pedrosch at gazeta.pl
Fri Aug 15 16:27:18 CEST 2003

    I have a huge problem with loading very simple structure into memory
    it is a list of tuples, it has 6MB and consists of 100000 elements

>import cPickle

>plik = open("mealy","r")
>mealy = cPickle.load(plik)

    this takes about 30 seconds!
    How can I accelerate it?

Thanks in adv.

More information about the Python-list mailing list