OZONE Asylum
Forums
DHTML/Javascript
Optimising JavaScript loops
This page's ID:
29314
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
:o can't find it either. I remember that thread, and am sure it involved the usual suspects : InI, Petskull, BitDamaged, and yours truly. Most of the time it is faster to do loops in reverse. Another thing that might speed up a bit is to unwind the loops or use a "Duff device". Check on the net and Wikipedia for "loop unwinding" and "Duff optimization". Here are a few links on the subject: [url=http://en.wikipedia.org/wiki/Loop_transformation]Wikipedia: Loop optimization/transformation[/url] ( some really interresting bits there ) [url=http://en.wikipedia.org/wiki/Loop_unwinding]Wikipedia: Loop unwinding[/url] [url=http://home.earthlink.net/~kendrasg/info/js_opt/jsOptMain.html]JavaScript Optimization[/url] [url=http://www.websiteoptimization.com/speed/10/10-3.html]WebSiteOptimization: Chapter 10: Optimizing JavaScript for Execution Speed[/url] ( nice book if you're not a hardcore optimizer ) HTH [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_neon88x31.gif[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »