52 karma · joined January 13, 2012
http://closure-library.googlecode.com/svn/docs/namespace_goo...
This isn't to be used alone for clearing minefields - as it's not going to get 100% coverage. It's still a useful tool for surveying minefields or perhaps doing a cheap first-pass before sending in pricey equipment
Found this S.O thread http://stackoverflow.com/questions/10296791/backbone-js-perf... (different code, same concept) and decided to benchmark: Unqueued DOM insertion: http://jsfiddle.net/arkxp/9/ Queued DOM insertion: http://jsfiddle.net/arkxp/8/
The latter is consistently faster, and while the difference isn't a lot with this example, given a more complex insertion it'll mount up.
I do like the haml style templating though, anything like this exist standalone with coffeescipt not js syntax?
We currently use eco (https://github.com/sstephenson/eco), but that's standard html.