AW: AW: AW: AW: slown down of IDE 2.9 under windows
Tiemo Hollmann TB
toolbook at kestner.de
Thu Sep 11 01:38:17 CDT 2008
thanks for your thoughts. Actually I didn't thought that 2300 lines of code
could affect the IDE and as I posted before, the slowdown is already with
only IDE open, without any stack open, very curious.
A bit of hisrory:
There is a competitive product of rev, Toolbook (which has the same
Hypercard derivation as Rev) which has the 2^15 KB char limit per field
still today :-)
> > 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.
More information about the use-livecode