|
ThreeDee
|
Does anyone happen to know the overhead of using several script components to achieve something as opposed to scripting it all in one script?
What I mean, for example, is if I do one map script that controls color and another one that controls lightness, this seems to be much slower than doing one script that does both. I haven't done any actual speed comparison between these, but I was hoping someone could tell me if there is a significant gain in putting all functions into one script component rather than spreading them out between two or more. |
|||||
| Posted: April 10, 2012 4:19 am | ||||||
|
Sphinx.
|
http://www.filterforge.com/wiki/index..._script.22 Njyldgarkn sample cache! |
|||||
| Posted: April 10, 2012 7:20 am | ||||||
|
SpaceRay
|
Thanks for the link Sphinx
Is this a possible answer to this question? So according this below would mean that one script would be better than many separated ones even if they are smaller and simpler.
ONLY USE SCRIPTS FOR WHAT CAN“T BE DONE WITH COMPONENTS
So I think that if one script can be done with components instead of make it probably easier with the scripts for who knows how to do it, would be better to make it with components because it would be faster and also better to understand for others that do not have the skills and experience in scripting. Scripting then will be useful when it would be not possible with the components or perhaps would be very complex to build with the components. |
|||||
| Posted: April 10, 2012 8:32 am | ||||||
|
ThreeDee
|
Thanks Sphinx,
Exactly what I needed to know. TD |
|||||
| Posted: April 10, 2012 9:26 am | ||||||
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
15,399 Registered Users
+9 new last day!
112,666 Posts
+16 new last day!
10,106 Topics
+6 new in 7 days!
GMM, 6 unregistered users.