[rucksack-devel] Btrees
Arthur Lemmens
alemmens at xs4all.nl
Fri Aug 4 22:37:41 UTC 2006
Edi Weitz wrote:
>>> -(defgeneric index-delete (index key value &key if-does-not-exist)
>>> - (:documentation "Remove a key/value pair from an index.
>
> But then the documentation shouldn't say "removes a key/value pair",
> but something like "removes value from key, if keys are unique,
> removes the key as well".
Yes, that's right.
> BTW, what happens if I have a btree with non-unique keys and remove
> the last value from a key?
The key should be removed too, I think.
Unless you want to take a shot at this, I'll try to implement this
tomorrow or next week. (Or we could do it together on Sunday.)
Arthur
More information about the rucksack-devel
mailing list