[rucksack-devel] rucksack performance

Arthur Lemmens alemmens at xs4all.nl
Fri Jan 12 07:23:23 UTC 2007


[Replying to the list.]

> Oh, while I'm at it, one thing i was thinking about is the nature of
> indices. One of the nice things in RDBMSes is that you can, say,
> create a whole bunch of rows and then index them after the fact,
> rather than having the index in place from the get go (and, more
> importantly, while doing the insertion). Have you thought about the
> implications of such a strategy for rucksack? would it make sense to
> have unindexed slots and then redefine the class to have indices
> after the instances have been created?

This should already work now.  Have a look at the function REPLACE-SLOT-INDEX,
for example.  Just add an :INDEX foo option to a slot, and existing
instances will be re-indexed automatically.

At least that's the idea.  If it doesn't work, I'd like to hear about
it.

Arthur




More information about the rucksack-devel mailing list