I've started putting together Clojure Cup, a global programming competition
for Clojure and ClojureScript programmers. The idea is to have a 48-hour
hackathon, similar to Rails Rumble and Node.js Knockout. Those events have
been great fun, and I'm hoping we can put together something similar
PPK has numbers for this from a few years
ago: http://www.quirksmode.org/dom/innerhtml.html
A more recent benchmark: http://andrew.hedges.name/experiments/innerhtml/
There used to be a huge difference in favor of strings + innerHTML, but
with recent browsers the situation seems to have evened
So I'm assuming that the problem is in the use of .strobj, and there is some
better way to convert the clojure map to a javascript map that outputs
symbol style keys rather than string style keys - is there a simple way to
do that? Would that fix the problem?
Yeah, outputting symbol style
This is a known feature with Closure templates:
http://code.google.com/p/closure-templates/issues/detail?id=25
The Closure compiler does name replacement on the template parameters,
so that after the compilation the argument names are no longer
greeting and year. The JS object constructed in