bheesham/syn.js — pull request #1 by cdelahousse (2012-07-14 15:04:28+00:00)
Title: Added document fragment

Looking good man. Looking good.

I just did two modifications:
1. I added a document fragment. In JS, DOM operations super slow. Webkit needs to redraw parts of it with every append. The way to squeeze more performance is using document fragment.

http://jsperf.com/documentfragment-appendchild-vs-jquery-append

2. Took the variable declarations out of the loops. This annoyed me a bit. It's not a big deal and I can revert it if you want.