Taylan Ulrich Bayirli/Kammer <taylanbayi...@gmail.com>: > Though when I think of it, often I would be fine with O(n) too and could > use alists in my code to begin with.
Yes. In my recent tests, I found (assq-ref) was twice as fast as (hashq-ref) when there were 100 entries even when I made the hash table quite large (1000 entries IIRC). > There is (pointer-address (object-pointer <obj>)) if that helps. > (Nonstandard Scheme of course.) Thanks for the tip. Unfortunately, I couldn't locate those on my guile installation. Marko