Thanks Alex/Beneroth,
Okay ... just to clarify. (collect 'nm '+Tag "BLUE" NIL T 'itm) is the
recommended way to get to all items for a given Tag.
I should perhaps use an indirection to +Tag class so that I do not repeat
it every time.

After some thinking it seems that perhaps I could just go with a bit field
and and inline number relation for this :)

Regards,
Kashyap


On Sat, Nov 23, 2019 at 8:48 AM Alexander Burger <a...@software-lab.de>
wrote:

> On Sat, Nov 23, 2019 at 05:11:15PM +0100, andr...@itship.ch wrote:
> > +Idx is for +String, actually a special variant of the general
> > non-unique index +Ref.
>
> Correct, makes sense only for strings, as it indexes substrings.
>
>
> > Now I'm currently unsure if +Ref and +Joint can be combined... might be
> > that +Joint cannot be indexed?
>
> At least it is meaningless, as I said in the other mail.
>
> A (+Ref +Link) lets you look up an object in the +Ref index and you find
> all
> objects that link to this one.
>
> A (+Joint) is the same, in that if you have an object, you directly have a
> pointer to the jointed one, without need for index lookup.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>

Reply via email to