Using substacks versus external stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Using substacks versus external stacks
Hm. Something must be causing it, only things that come to my mind that really changed would be that and the much heavier use of behaviors in the IDE. The engine itself is faster, I think, so what is left?
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Using substacks versus external stacks
Parts of the engine are faster. Others are more complete. Pretty much every language I've seen takes a performance hit when they adopt Unicode, which in LC happened with v7, among the slowest builds ever.
Since then things have improved, and some things are faster than ever before. But all the while internal text is now two bytes wide, meaning more RAM, larger mallocs, new encoding conversions, etc. All just the price we pay for modern text.
With the IDE, I think the main difference is that there's a lot more code in recent versions.
MC is fast because it does so little.
Since then things have improved, and some things are faster than ever before. But all the while internal text is now two bytes wide, meaning more RAM, larger mallocs, new encoding conversions, etc. All just the price we pay for modern text.
With the IDE, I think the main difference is that there's a lot more code in recent versions.
MC is fast because it does so little.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Using substacks versus external stacks
Interesting thought, but I was actually comparing 7.x to 8.x, and 8.x to 9.x. In each case, the IDE became less and less responsive, despite improvements to the engine. The major changes between those versions is no longer unicode, hence I suspect something else is going on.FourthWorld wrote: ↑Sun Sep 01, 2019 4:55 pmWith the IDE, I think the main difference is that there's a lot more code in recent versions.
...MC is fast because it does so little.
Since 7 appears (at least on my box) as fast as 6.x or even Mc or, alternately, isn't slower by enough to notice, and 8.x is only slightly slower, it leads me to look at the other major changes, which seem to be a lot more use of behaviors and script only stacks. If those aren't the only major changes, then I am missing something else to look at.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Using substacks versus external stacks
Exactly. Differences with the IDE are likely because the IDE contains more code, pretty much with each version.bogs wrote: ↑Sun Sep 01, 2019 6:01 pmInteresting thought, but I was actually comparing 7.x to 8.x, and 8.x to 9.x. In each case, the IDE became less and less responsive, despite improvements to the engine. The major changes between those versions is no longer unicode, hence I suspect something else is going on.FourthWorld wrote: ↑Sun Sep 01, 2019 4:55 pmWith the IDE, I think the main difference is that there's a lot more code in recent versions.
...MC is fast because it does so little.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Using substacks versus external stacks
Huh, and here I thought using behaviors and script only stacks was supposed to result in *less* code, or am I getting that wrong? Also I would think that it would take an order of magnitude more code than the previous IDEs had to generate this kind of sluggishness in the IDE, but I'm almost certain that the code base hasn't changed that much.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Using substacks versus external stacks
It's not so much the quantity of code as what the code is doing.bogs wrote: ↑Mon Sep 02, 2019 12:12 pmHuh, and here I thought using behaviors and script only stacks was supposed to result in *less* code, or am I getting that wrong? Also I would think that it would take an order of magnitude more code than the previous IDEs had to generate this kind of sluggishness in the IDE, but I'm almost certain that the code base hasn't changed that much.
Recent versions have added features that invoke a lot of routines with every keystroke.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Using substacks versus external stacks
I see (I think).