Best practice for menus...

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 17 18:06:14 EST 2017


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.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list