IE> One solution is to get rid of the :inherited option and simply allow a
IE> :subclasses? option to get-instances-by-value/range that uses the mop
IE> to find subclass indexes and does a merge sort of all objects returned
IE> by the various indexes. This becomes time O(k log_b n) and gets ri
On Thu, Apr 28, 2011 at 7:31 PM, Alex Mizrahi wrote:
> > Why? I am by no means an expert and never looked thoroughly the code,
> > but ,abstractly speaking, doesnt it boil down to just creating
> > more indexes automatically at class definition time?
>
> Code assumes that there is only one index
On Thu, Apr 28, 2011 at 8:34 PM, Ian Eslick wrote:
> I agree the semantics of inherited indexing is off. I implemented what
> worked for me at the time and was an easy extension to what was already
> there. However, the issues around class redefinition, database connection
> state, schema synch
I agree the semantics of inherited indexing is off. I implemented what worked
for me at the time and was an easy extension to what was already there.
However, the issues around class redefinition, database connection state,
schema synchronization, data loss protection, etc make code changes ar
> Why? I am by no means an expert and never looked thoroughly the code,
> but ,abstractly speaking, doesnt it boil down to just creating
> more indexes automatically at class definition time?
Code assumes that there is only one index it needs to update at time, so it
needs to be revised to handl
I think ideally this would be resolved with a new type of 'hierarchical'
> slot indices where instances will be indexed in many indices at once --
> when
> you make super-frob instance it will be indexed by frob-style both in
> super-frob and frob index (and, generally, in all super-classes). In th
On Wed, Apr 27, 2011 at 10:34 PM, Alex Mizrahi wrote:
> > Currently, I do something along the lines of the following on the results
> > on get-instance[s]-by-XXX functions:
> > (remove-if #'(lambda (x) (not (member ',class-name (mapcar #'class-name
> > (sb-mop:class-precedence-list x) lst :key
> Currently, I do something along the lines of the following on the results
> on get-instance[s]-by-XXX functions:
> (remove-if #'(lambda (x) (not (member ',class-name (mapcar #'class-name
> (sb-mop:class-precedence-list x) lst :key #'class-of)
> if I want results on the whole inheritance cha
Currently, I do something along the lines of the following on the results on
get-instance[s]-by-XXX functions:
(remove-if #'(lambda (x) (not (member ',class-name (mapcar #'class-name
(sb-mop:class-precedence-list x) lst :key #'class-of)
if I want results on the whole inheritance chain, or
(re