On 2/8/07, Thilo Goetz <[EMAIL PROTECTED]> wrote:
So here's another proposal, sort of amalgamating what Adam and Eddie
have said. We implement a special kind of bag index just for this
purpose, and kind of bag index that users can not define. Such a bag
index is a regular bag index, except that it only indexes FSs of
*exactly* the index type, not subtypes. We continue to create such
indexes lazily, as is currently done.
When it comes time to iterate over all indexed FSs, we do the
inheritance manually, at iteration time. That's a little more code than
is there now, but I don't think it's a big deal. I would still need to
investigate how hard it is to implement the special bag index; not too
hard I should hope, but the index implementation is pretty terrible (I'm
allowed to say this as I wrote most of it myself).
+1. (To the proposal, not to your assessment of the code quality. :)
-Adam