2009/12/14 Hans Leidekker hans@codeweavers.com:
Addresses a performance bottleneck in the Visual Studio 2005 installer. See http://bugs.winehq.org/show_bug.cgi?id=14168
Does it really make sense to maintain both a hash table and a binary search tree?
On Monday 14 December 2009 16:00:21 Henri Verbeet wrote:
Does it really make sense to maintain both a hash table and a binary search tree?
Theoretically the hash lookup is faster for small numbers of strings, but I haven't benchmarked it. Alexandre suggested to keep the hash IIRC.
-Hans
Hans Leidekker hans@codeweavers.com writes:
On Monday 14 December 2009 16:00:21 Henri Verbeet wrote:
Does it really make sense to maintain both a hash table and a binary search tree?
Theoretically the hash lookup is faster for small numbers of strings, but I haven't benchmarked it. Alexandre suggested to keep the hash IIRC.
I doubt I did, I don't think it makes sense to have both. The small number of strings case will be fast no matter what, the added complexity is not worth it.