On 1月4日, 下午10时17分, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> wanzathe wrote:
> > i have a binary file named test.dat including 960 records.
> > the record format is int a + int b + int c + int d
> > i want to build a dict like this: key=int a,int b values=int c,int d
> > i choose using bsddb
wanzathe wrote:
> i have a binary file named test.dat including 960 records.
> the record format is int a + int b + int c + int d
> i want to build a dict like this: key=int a,int b values=int c,int d
> i choose using bsddb and it takes about 140 seconds to build the dict.
you're not buildin
On Jan 4, 3:57 pm, wanzathe <[EMAIL PROTECTED]> wrote:
> hi everyone
> i'm a newbie to python :)
> i have a binary file named test.dat including 960 records.
> the record format is int a + int b + int c + int d
> i want to build a dict like this: key=int a,int b values=int c,int d
> i choose u