View Single Post
Old 21st June 2008, 11:41   #17  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
@gzarkadas,

Performance is not that much of an issue here, ScriptClip, et el, all recompile the script string every frame so a few extra GetVar calls won't make a difference. If you are using ScriptClip then performance is already shot to hell, using it will generally be the result of a wrong thought process i.e. Linear (C) instead of Functional (AVS) thinking.
Why not make current_frame global if there is no downside to it? It would be could if one could use user functions inside runtime functions.
Wilbert is offline   Reply With Quote