[Proto-Scripty] Re: Last Weekends Adventure

2009-06-23 Thread pedz
On Jun 23, 4:31 am, "T.J. Crowder" wrote: > I did an exercise a while back (here[1]) comparing DOM methods vs. > Prototype's wrappers for DOM methods vs. concatenating a string and > setting innerHTML.  The last method, innerHTML, wins on every browser > I tried, hands down, usually by at least o

[Proto-Scripty] Re: Last Weekends Adventure

2009-06-23 Thread T.J. Crowder
Hi, I don't know the Spry framework at all, but if it's building the table rows by creating elements through the DOM API (document.createElement, HTMLElement#appendChild, etc.) or Prototype's wrappers for those [new Element(...)], that may be part of the problem. It may be somewhat counter-intui

[Proto-Scripty] Re: Last Weekends Adventure

2009-06-23 Thread emitch
This may be an overly simplistic first step suggestion, but I've been in a similar situation where I needed to "render" thousands of table rows in the browser via a JSON response from the server. I found that by calling a render row function/method (somewhat asynchronously on the client) via a se