J. Landman Gay wrote:

> On 1/17/17 2:27 PM, Richard Gaskin via use-livecode wrote:
>> I was curious about performance, so I ran the test copied below, with
>> these results:
>>
>>   MenuItem: 219 ms
>>   As text:  10 ms
>
> Do the results change if you lock menus before changing them?
> Manipulating menus, especially on Macs, is expensive and locking
> menus helps to alleviate that. Not sure about other platforms though.

I did test that, but no difference here, as I ran the test on Ubuntu.

IIRC that's a Mac-only property that has no effect on Windows and Linux, merely preventing the update of the OS menubar from LC until idle.

I hope one day that'll be a Linux property, too. Like Mac, Ubuntu has a global menu bar, and it would be nice to also have control over when it gets updated.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to