[rucksack-devel] rucksack performance

Arthur Lemmens alemmens at xs4all.nl
Fri Jan 12 06:47:12 UTC 2007


Cyrus Harmon wrote:

> Ok, well there are probably still some issues here, but removing the
> string-index on the slot that had about 12 distinct values (over .5M
> objects) really seems to help performance!

Ah, interesting.  The 12 distinct values will map to 12 distinct entries
in a btree node, and each entry will be a plain persistent list with on
average 500,000/12 elements.  Rucksack will probably need to walk across
one such list each time you create a new object with that slot.

Yes, that could explain a lot ;-)

Thanks for the report.  Very interesting to hear about some real-life
experience with Rucksack.

Arthur




More information about the rucksack-devel mailing list