[subset] Optimize set iteration by caching the last found page map index.

Reuse it if possible on consecutive calls to next(). Will signifcantly speed up cases where the entire set is iterated. In local testing iterating a very large set was 10x faster.
1 file changed