And get StuffAgent NLQ to use them for faster queries
EoD is "end of descendants"
Idea is that we have depth_first_me and depth_first_eod in the nugget. Both are integers against an overall depth-first ordering. In general, me === "begin of descendants", so the terminus of a stuff node is in [me, eod)
Rather than supply another value for an index (EoD), it's going to be better overall to provide an XLink to the nugget with that index - then you can use the other info in the nugget, traverse etc
Don't bother using STL iterator semantics which would require an end-of-ordering nugget - just go fully exclusive
Use the existing index field - it should still work on gapped non-stars in sequences (test this though)
And get StuffAgent NLQ to use them for faster queriesEoD is "end of descendants"
Idea is that we have
depth_first_me
anddepth_first_eod
in the nugget. Both are integers against an overall depth-first ordering. In general, me === "begin of descendants", so the terminus of a stuff node is in[me, eod)