Speed Question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Speed Question

Post by Judson » Sat Jul 31, 2010 9:26 pm

When I use the control keys to do a function it seems slower than using the menu which seems slower than code.

For example command-3 (go next) takes about three seconds to execute. The menu command takes two seconds to respond and then another partial second to execute. Type "go next" into the message box seems snappy.

Is there a reason menu commands take so long to execute and is there something I'm doing wrong?

A cut and paste from one field to another on the same card of of a six byte words takes three seconds to copy and another three seconds to paste. This is on a MacBook Pro in the gigahertz range. This is orders of magnitude slower than a Mac Power PC of a over a decade ago. Same question.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Speed Question

Post by Mark » Sat Jul 31, 2010 11:04 pm

Judson,

I don't notice this problem on my 2.16Ghz Intel Core 2 MacBook with 2MB memory. Are you using a pristine copy of Revolution?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Speed Question

Post by Judson » Sat Jul 31, 2010 11:18 pm

Well, it is whatever you shipped me.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Speed Question

Post by Mark » Sat Jul 31, 2010 11:24 pm

Judson,

Have I shipped anything to you? What might that be?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Speed Question

Post by Judson » Sat Jul 31, 2010 11:37 pm

Mark, what I mean is that it is a legal copy, not some bootleg. The user interface has already been real slow. I'm using a MacBook Pro 2.8 ghz, sounds similar.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Speed Question

Post by Mark » Sat Jul 31, 2010 11:43 pm

Judson,

Pristine means in this case: without any add-ons. Did you install any non-standard externals or plug-ins?

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Speed Question

Post by Judson » Sun Aug 01, 2010 2:49 am

No.

Interesting that your menu and cut and paste is more or less immediate.

MichaelBluejay
Posts: 230
Joined: Thu Jul 01, 2010 11:50 am

Re: Speed Question

Post by MichaelBluejay » Sun Aug 08, 2010 8:09 pm

Judson, I noticed the exact same behavior: command-3 slowest, choosing "Go Next" a little faster, and "go next" in a script is the fastest.

I did find a solution to the performance problem. My stack was converted from SuperCard. There were about 60 background fields with shared text, about 34 lines each. Previously I'd simply layered the field I needed to the front of the other 59 fields. My fix was to hide all the unused fields except the current field I needed. After that it's pretty fast to go from card to card by any method.

Post Reply