[Prototype-core] Re: Improvement of either .insert, or creating of Elements

2007-11-04 Thread [EMAIL PROTECTED]
I just did some tests, just to show the differences between. time to insert 10,000 span with hello + i KONQUEROR: concated string method: 3614ms insertion every iteration: 62510 ms FIREFOX 2: concated string method: 574ms insertion every iteration: 71924ms I haven't tested this on Opera, Safa

[Prototype-core] Improvement of either .insert, or creating of Elements

2007-11-04 Thread [EMAIL PROTECTED]
I have been trying to figure out a way that I can insert multiple elements into the document, without having to use the Element.insertion method every time which obviously isn't an efficient way to do it. Therefore I had to create an element in string (html form) and then concate them togetether