04 2004-02-12 - By Thomas Higgins
Back > Has anyone done a speed comparison between the two syntaxes?
Well, yes, I've done some. This is a sticky question as there are many tests that it no way reflect real-world situations (who can run through a repeat loop faster?), and other tests are catered to benefit one option versus the other (text searching for example). But the broad general statement is that Lingo is the fastest thing going. But I must say that our implementation of JavaScript is on par with ActionScript and JavaScript in the browser, so it's not slower than other comparable scripting syntaxes. The truth is really that Lingo is still fastfastfast...
But if you look at specific tasks to break down whether you should use Lingo or not the story can change. The example I cited above is in searching through text, JS syntax exposes regular expression searching which could then be used to search for and possibly replace sub-strings in large bodies of text *easily* and *quickly* compared to Lingo. Write a search/replace function in Lingo faster than a native JS sytnax regular expression search, you won't be able to (if you can then shock me with an example :) ).
So, we haven't done a comprehensive combing through and identifying all the areas where one syntax is faster than the other, but we have obtained the general statement that Lingo is faster, but our JS syntax implementation is on par with AS and JS in the browser.
Hopefully that answers your questions, if not then give a shout!
Cheers, Tom Higgins Product Specialist - Director Team Macromedia
Announcing Director MX 2004, de lekkerste! http://www.macromedia.com/software/director
...
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|