Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avl-trees vs. hashes



Per Bothner <bothner@cygnus.com> writes:

 > Yes.  All of these points are inherent in the whole concept of
 > hashing.  Re-sizing has nothing to do with it, as long as the
 > expected bucket size is O(1), which it *has* to be, for hashing
 > to "work".

Not exactly true.  If you resize too frequently then you'll end up
with worse than O(1).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

Guile Home | Main Index | Thread Index