On Tue, Oct 01, 2019 at 09:24:33AM +0200, Alexander Burger wrote:
> (rel year (+Ref +Number))
> ...
> (rel week (+Ref +Number))

An useful optimization in this case would be using an '+Aux' index

   (rel year (+Aux +Ref +Number) (week))
   ...
   (rel week (+Ref +Number))

In this way, the combination of year plus week can be accessed directly in
combination (and of course also individually as before), as a single index
access, without further searching and filtering

   (aux 'year '+Agenda 2019 32)

and also 'select' takes advantage of it

   (select (@A) ((year +Agenda (2019 32)) ...

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to