Page 1 of 1

A thousand objects on one card.

Posted: Mon Apr 26, 2021 1:02 am
by Fermin
Hi, I am developing an app to create calendars and I am going to need up to 18 months on one screen. Each day of the month is in a graph object and I need 42 (7 x 6) days per month. I will also need a lot of buttons and fields for different processes... in short, I estimate that there will be about 1000 objects (controls) at the same time on the same card. And, of course, including the respective code in the different scripts.
The question is: Can LC support that without problems? I say this because a couple of days ago LiveCode has been 'crashed' once, although I'm not sure why. Thank you so much.

Re: A thousand objects on one card.

Posted: Mon Apr 26, 2021 4:10 am
by FourthWorld
I put just under 6,000 controls on a card the other day. No problem beyond a slight delay with hit testing. At 1k you should be fine, depending on what each stores, of course.

Re: A thousand objects on one card.

Posted: Mon Apr 26, 2021 2:47 pm
by Fermin
Thank you, FourthWorld, you reassure me. Anyway this "concern" will be useful to me because it forces me to debug algorithms and code to alleviate the weight of the application.