<p><br>
That certainly doesn't seem right. It should prefer the pair check, but it's supposed to treat calling embedded expressions as slow. I'll take a look at that.</p>
<p>On Oct 6, 2011 7:13 PM, "Jay McCarthy" <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>> wrote:<br>
><br>
> Given all this talk of optimization, I'm still amazed that my original<br>
> example failed. Basically, the ordering optimization decided that<br>
><br>
> (and (pair? (cdr e))<br>
> (parse (car (cdr e))))<br>
><br>
> is cheaper than<br>
><br>
> (equal? '+ (car e))<br>
><br>
> Jay<br>
><br>
> --<br>
> Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
> Assistant Professor / Brigham Young University<br>
> <a href="http://faculty.cs.byu.edu/~jay">http://faculty.cs.byu.edu/~jay</a><br>
><br>
> "The glory of God is Intelligence" - D&C 93<br>
</p>