My 2 cents : AFAIK JSLint is restricted to a subset of the JS syntax
anyway so if you have to deal with very long legacy code you may
prefer any code checker that supports the whole syntax (at least
ECMAScript 3). For ex. http://glat.info/jscheck/ does not constrain
your coding style at all and s
I have measured the speed of two sorts of Javascript trampolines,
which in both cases turned out to be about two orders of magnitude
slower than iterative code:
http://glat.info/pub/tailopt-js/tailopt-js-appendices.xhtml
(mutual recursion supported)
As for the setTimeout solution, yes it simplifie
Hello,
I have been exploring some ways to optimize tail calls in Javascript.
In case of interest: http://glat.info/jscheck/tomrec.xhtml
Comments are welcome.
Best regards,
Guillaume Lathoud
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/j