While we're on the subject of JS and speediness, quirksmode has a great article on comparative speeds of innerHTML and DOM methods in regards to creating new content on all modern browsers.
Quirksmode's test hits pretty close to home as it simulates a situation that is the biggest source of performance issues in Sproutliner (the creation of a single large table). The article's conclusion is that innerHTML is a whole lot faster, which thankfully somewhat validates the current use of innerHTML to create all elements in Sproutliner.
The article also compares two methods of using innerHTML, the results of which are consistent across all browsers and just a little bit suprising.
No comments:
Post a Comment