Allocate THashSet items together with their keys when FOwnKeys=true.
Small optimization to TFPHashSet
that cuts its GetMem
(and FreeMem
) calls in half, allocating items together with their keys. Speedup is tiny (0.02% according to myself from #39501 (closed)), but is there.