Re: [racket] Performance difference between BSL and #lang racket

2012-01-15 Thread Matthew Flatt
At Sun, 15 Jan 2012 13:59:33 -0500, David Van Horn wrote: > I bet it's exact arithmetic. Racket sees 1.2 as an inexact number, > while *SL sees it as exact. Try inserting "#i" before any literal > numbers in the code and see if that does the trick. Yep. Jordan sent some of us the code, and tha

Re: [racket] Performance difference between BSL and #lang racket

2012-01-15 Thread David Van Horn
On 1/12/12 2:48 PM, Jordan Johnson wrote: Hi all, A student presented me this morning with an implementation he'd written of Pong, which, after about a minute and a half of running (in BSL) was so slow on his Mac that it was unusable; specifically, the apparent speed slowed down a lot, and th

Re: [racket] Performance difference between BSL and #lang racket

2012-01-15 Thread Danny Yoo
> What language difference(s) might be responsible for the vast performance > difference we're observing?  If it would be helpful to see the code I can > share it, but it's about 1000 LoC and I don't think it's proper to post it > publicly.  I've tried to construct a small program that shows the