How to get all "Subjects" used in a Folder (efficient)?

For the records: I came up with a solution operating directly on the indexes, using its IISets/IITreeSets doing direct intersection see https://gist.github.com/jensens/ba4945d46d0b7fa00a414c5ae18a1f82

This is the fastest way I found.

1 Like