durusmail: durus-users: PersistentDict vs BTree
PersistentDict vs BTree
2006-10-03
2006-10-03
2006-10-03
2006-10-03
2006-10-05
2006-10-05
2006-10-05
2006-10-05
2006-10-11
2006-10-11
2006-10-11
2006-10-12
2006-10-12
2006-10-12
2006-10-13
2006-10-13
2006-10-13
2006-10-13
2006-10-13
2006-10-13
Re: PersistentDict vs BTree
2006-10-23
2006-10-31
PersistentDict vs BTree
Patrick K. O'Brien
2006-10-13
Mike Orr wrote:
> On 10/13/06, Matthew Scott  wrote:
>> Try "easy_install -b BUILD_DIR -Z
>> http://schevo.org/svn/trunk/Schevo#egg=Schevo" to install the latest
>> Schevo trunk, which has the Durus 3.5-based schevo.store
>
> I tried it, and the performance is still the same as Durus.  If there
> is a memory difference it's less than 1 MB. Perhaps there would be a
> greater difference in an app that has lots of Persistent objects.

That isn't too surprising since you don't have many Persistent objects.
 In the case of a typical Schevo app that makes use of keys, indexes,
referential integrity, and such, there are a lot of indexes created
behind the scenes (both PersistentDict and BTree, and even some
PersistentLists).  In one large example I think the memory savings was
around 30%, which was significant enough for me to fork Durus.

--
Patrick K. O'Brien
Orbtech       http://www.orbtech.com
Schevo        http://www.schevo.org
Louie         http://www.pylouie.org
reply