Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
04

04

2004-02-12       - By Thomas Higgins

 Back
Reply:     1     2     3     4     5     6     7     8     9     10  

> 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