TStrHashMap.Remove has not decrease the Size. It affect TStrHashSet.Remove as well.
please add:
Dec(FCount);
after line 1577 at function TStrHashMap.Remove(const Key: string): TObject;
at file HashMap.
thx.
2008-07-09 04:01:50 UTC in The Delphi Container Library