I think that count$i-where$i aka offset/limit can be optimized, but in most
cases not in terms of subsequence: it sets an offset or a limit on the number
of tuples, not on the number of items (a tuple may well produce zero, or more
than one item in the end). I think that an early exit, or skipping, in FLWOR
iterators should be possible when encountering a count$i-where$i. Markos is
probably more familiar with this code than I am though.
Does it make sense?
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp