TLongObjectMap[TLongHashSet] is slightly slower but is much lower memory than a packed Int map/set with Int/Ref lookup