w...@ccs.neu.edu scripsit: > With the R5RS semantics, closures (or unique tags, which are almost as > expensive as closures) will probably have to be allocated for every > call to f and for every internal call to g. Since most calls to g > occur within a tight loop, creating and garbage-collecting those > closures or unique tags is likely to dominate the running time. > That's a high price to pay for a theoretically inelegant misfeature > that's seldom used correctly in portable code.
Well, you've convinced me of everything except the theoretical inelegance. I still think this optimization demotes procedures to second-class status, but I can live with second-class procedures. -- John Cowan http://www.ccil.org/~cowan co...@ccil.org "After all, would you consider a man without honor wealthy, even if his Dinar laid end to end would reach from here to the Temple of Toplat?" "No, I wouldn't", the beggar replied. "Why is that?" the Master asked. "A Dinar doesn't go very far these days, Master. --Kehlog Albran Besides, the Temple of Toplat is across the street." The Profit _______________________________________________ r6rs-discuss mailing list r6rs-discuss@lists.r6rs.org http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss