maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
727 stars 58 forks source link

Feature request: Performance tuning option, starting with brushtail #81

Open m1sta opened 11 years ago

m1sta commented 11 years ago

Iced crosses a boundary by adding await and defer to coffeescript. Now that this boundary has been crossed we should make the most of it.

There are a number of things that javascript writers can do to substansially improve the performance of their code. It would be great if iced could automatically apply some of these for the developer transparently.

The first example I can think of is tail call optimisation. Being able to enable this via a new command line option and the integration of https://github.com/puffnfresh/brushtail would be great.

Next on the list might be function inlining.