Re: Re[8]: [Metakit] newbie question - writing derived view back to db

2005-01-20 Thread Wolfgang Lipp
BK will get to in a moment. You make a point about the speed of mk BK versus the speed of raw python dictionary, I don't think it could ever get as good as operations on disk-based data structures being comparable in speed to memory-based data structures. It's unrealistic to expect that I think,

Re: Re[8]: [Metakit] newbie question - writing derived view back to db

2005-01-20 Thread Brian Kelley
It will be hard to check your timings without the source.  One question is are you starting with a blank database before the operations?  Metakit will get slower as the database gets larger and fragmented.  Sometimes you need to optimize the database as follows: st.save(open(save.mk, 'wb')) and

Re[8]: [Metakit] newbie question - writing derived view back to db

2005-01-19 Thread Marcin Krol
Hello Jean-Claude, Geez, Brian, you're a wizard! JCW I agree 100%. Err, I have to admit I made this mistake - I have many versions of this data file and in the last MK test I used the one that was half as big as previously. Still, Brian's version of my Python/MK script has came ahead of BSDDB