Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing state



What you did is pretty impressive - another way is to use JavaScript and use outputs of this patch as global variables (see the archives of this list for examples).
Thanks.  Leave it to me to do things the hard way :)

Is there a speed hit for using JavaScript?

Yes, this is an interpreted language, not compiled and the JavaScript runtime is the Safari one, i.e. designed for web browsers, not real- time operations. Data conversion must also be performed on input / output. That said, unless you are using many JavaScripts or very often (like inside Iterators), you should be ok.


Also, Is there a speed hit for encasing things in macros or using input splitters?

no


________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Architect Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Storing state (From: Jon Hull <email@hidden>)
 >Re: Storing state (From: Jon Hull <email@hidden>)
 >Re: Storing state (From: Pierre-Olivier Latour <email@hidden>)
 >Re: Storing state (From: Jon Hull <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.