Bonjour Tiemo,
Le 10 sept. 08 à 14:57, Jerry Daniels a écrit :
I have many stacks with > 5,000 lines of code. GLX2 Script Editor
mainstack has over 15,000 lines of code. This is the script I use
to test GLX2 Script Editor's performance. I don't think 2,300 lines
is too many.
A bit of history :-)
Once upon a time was Hypercard.
Its text engine was not able to handle more than 2^15 KB.
About 30 000 chars.
Then scripts were limited to this value *.
Note that it is not lines but chars :-)
In Rev, there is no limit; a single script may count millions of
lines if needed **
As said Jerry and as for my experience, some thousands of lines are
not a problem.
May be Richard will chime in with his (useful) benchmarks but I never
encountered any problem with scripts length or handlers number.
---------------------------------
It makes me think about another subject:
I'm an addict of modular code ***
Does a modular code is able to slow down execution?
As for me, I was not able to prove it in 'real' situations.
Seems that computing is far more time consuming than code architecture:
Good discussion subject ;-)
---------------------------------
* The way to get around was of course to use stacks in use.
** But I would bet there is an architecture problem ;-)
*** Readability, reusability, etc.
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution