Topic awaiting preservation: Better for loops and Java/Javascript optimisation (Page 2 of 2) |
|
---|---|
Paranoid (IV) Inmate From: France |
posted 09-04-2004 11:28
Liorean: Welcome in the Asylum. For one of your first posts, that's a monster/master piece. Kudos. |
Maniac (V) Mad Scientist From: Somewhere over the rainbow |
posted 09-05-2004 10:00
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: USA |
posted 09-05-2004 15:02
Welcome, Liorean! |
Bipolar (III) Inmate From: Umeå, Sweden |
posted 09-15-2004 01:49
Actually, I have to correct myself about the DOMCollections. JavaScript has in difference to Java no threading support and as a single threaded language doesn't need to recreate the temporary arrays when accessing them in a loop. So, code: var is not at all faster than code: var Quite the opposite, actually, the latter example takes between five and ten or even a hundred times the amount of time to complete. (Opera has lousy preformance sometimes...) code: var to traverse the collection instead of doing something like code: var or even worse code: var
|
« Previous Page — 1 [2]