dyoo / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
250 stars 30 forks source link

The trampoline isn't releasing to the browser frequently enough #38

Closed dyoo closed 12 years ago

dyoo commented 13 years ago

I'm seeing a lot of browser timeouts that are supposed to be defeated by our trampoline. Must figure out what's going on there.

dyoo commented 12 years ago

What I was observing is due to the stringification of bignums: that's in pure javascript, and if the numeric representation is too long, that triggers the browser timeout. I don't think I can do anything about this without significant rewrite of the bignum library. Closing.