javve/list — Issue #1: List.js L419
Author: 0xdeadcafe
Created: 2011-10-20 15:38:10+00:00
State: open

https://github.com/javve/list/blob/master/src/list.js#L419

You can speed it up using native DOM methods, rather than innerHTML. Presently you're demanding the DOM be interpreted as a string and causing the browser to do a lot of re-rendering work, innerHTML is bad for performance, but will assassinate performance when inside a loop.

I'd suggest using text nodes or DOM fragments:

https://developer.mozilla.org/En/DOM/DocumentFragment

You have the opportunity to improve speed where you get the values as well: https://github.com/javve/list/blob/master/src/list.js#L410