On Fri, Jul 17, 2009 at 7:55 PM, Slava Pestov<[email protected]> wrote: > On Fri, Jul 17, 2009 at 10:11 AM, Darrin Thompson<[email protected]> wrote: >> I got a lot more work done in factor when I quit worrying about >> generators and just used combinators to do the same work. I think in >> many cases the compiler manages to optimize out intermediate lists, >> etc. > > The compiler does not optimize out intermediate data structures; > there's no deforestation optimization or anything like that. Immutable > tuples can get unboxed in some cases but that's about it. >
Hah. That's funny. The functions I wrote were fast enough that I assumed there was deforestation happening. -- Darrin ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
