[racket-dev] racket/match is broken

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Thu Oct 6 19:22:33 EDT 2011

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.

On Oct 6, 2011 7:13 PM, "Jay McCarthy" <jay.mccarthy at gmail.com> wrote:
>
> Given all this talk of optimization, I'm still amazed that my original
> example failed. Basically, the ordering optimization decided that
>
> (and (pair? (cdr e))
>       (parse (car (cdr e))))
>
> is cheaper than
>
> (equal? '+ (car e))
>
> Jay
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://faculty.cs.byu.edu/~jay
>
> "The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20111006/05cbb7f6/attachment.html>

Posted on the dev mailing list.