Subject: Re: data hygiene [Re: Why is Scheme not a Lisp?] From: Erik Naggum <erik@naggum.net> Date: Fri, 22 Mar 2002 07:46:08 GMT Newsgroups: comp.lang.lisp Message-ID: <3225771981784501@naggum.net> * Duane Rettig <duane@franz.com> | We should look at this carefully, Erann. It is possible you are | measuring the wrong thing here. [...] : | If my guesses are correct, then what you have is a highly optimized | version of assoc (possibly even open-coded) and a non-optimized getf, | which at least has optional processing. This is why I wrote my own alist-get and plist-get and even wrote the tagbody out in full and tweaked it considerably. The overhead of using assoc and getf with all their (hugely different) generality completely wipes out any savings in memory access unless the lists are _really_ long, as in: _way_ beyond the threshold at which to switch to hashtables. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief.