Re: Comparative speed in switching among groups

2023-11-28 Thread David Epstein via use-livecode
Many thanks to Richard, for his interesting results and for the reminder that speed testing is pretty easy. I ran a similar test on a slightly different task--flipping among 50 different groups, or 50 different cards--and got similar results. Adding a “lock messages” sped up the card option by

Re: Comparative speed in switching among groups

2023-11-27 Thread ambassador--- via use-livecode
Alex Tweedly wrote: > On 27/11/2023 00:02, ambassador--- via use-livecode wrote: >> I suspect most layouts won't encounter this much of a difference. After all, >> I did choose the elements I could put together quickly with rendering >> impairment >> in mind. > > But there is another considerat

Re: Comparative speed in switching among groups

2023-11-27 Thread Alex Tweedly via use-livecode
On 27/11/2023 00:02, ambassador--- via use-livecode wrote: An excuse to benchmark? Sure, I'll bite. :) :=).  Beat me to it. But boy oh boy was I surprised by the difference. Bottom line, in millisecs for just 5 iterations on an M1 Mac: Groups: 141 Cards: 13619 Wow! I suspect most layou

Re: Comparative speed in switching among groups

2023-11-26 Thread ambassador--- via use-livecode
An excuse to benchmark? Sure, I'll bite. :) I didn't test the third option because I feel confident we'd find it similar to the second but with the extra overhead of object/memory allocation. My hunch was that groups would be faster than cards, because everthing needs to be unpacked and ready

Re: Comparative speed in switching among groups

2023-11-25 Thread Mark Talluto via use-livecode
Hi David, We made an app development environment that does this. It is very fast and comes with some benefits. One is you can do a good swipe between screens. Feel free to try it and see what the performance is like. The link is below. Best regards, Mark Talluto appli.io

Re: Comparative speed in switching among groups

2023-11-25 Thread Bob Sneidar via use-livecode
My understanding is that the second method of show/hide groups will be more efficient. Sent from my iPhone > On Nov 25, 2023, at 14:36, David Epstein via use-livecode > wrote: > > Does anyone have practical experience or an understanding of the engine that > would cast light on the relativ

Comparative speed in switching among groups

2023-11-25 Thread David Epstein via use-livecode
Does anyone have practical experience or an understanding of the engine that would cast light on the relative speed of some alternative ways of doing things? I want to switch among a number of different groups, each of which may contain its own fields, graphics, buttons, and images. Possible a