This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: avl-trees vs. hashes



> also, my buckets are now true alists (as God intended):
> 
> (list (cons hash1 (cons key1 value1)) (cons hash2 (cons key2 value2)))

Just a suggestion, maybe storing the hash value should be an optional
thing too since it is a fixed speed overhead versus a fixed memory overhead,
there are arguments for both depending on the situation. Ignore this
if it makes your code horribly complicated.

	- Tel