mem usage

For general Flowcode discussion that does not belong in the other sections.
Post Reply
WingNut
Posts: 270
http://meble-kuchenne.info.pl
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 41 times
Been thanked: 29 times

Flowcode v10 mem usage

Post by WingNut »

Just something I noticed. I've compiled a proven flowcode program from FC9 with FC10 and noticed the compiled file is 3% smaller :D
Great! But how come? Im using FC10 pro is that the reason?

N

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: mem usage

Post by BenR »

Hello,

Aha that's great, we've had another pass through the CAL / components and it could be we've added an optimisation that saves on your ROM/RAM. Out of interest what components are you using?

WingNut
Posts: 270
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 41 times
Been thanked: 29 times

Re: mem usage

Post by WingNut »

SD card, RTC module, DHT22, ILI9341 display and 3 push buttons.
I'm going to try another program I'd finished in FC9 and see what it does for it as it had reached 99% and I wanted to add another feature
Last edited by WingNut on Fri Feb 17, 2023 7:13 pm, edited 1 time in total.

WingNut
Posts: 270
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 41 times
Been thanked: 29 times

Re: mem usage

Post by WingNut »

Tried a similar file to that mentioned above (dont have it on this pc) and its reduced by almost 5%. Thats great!

WingNut
Posts: 270
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 41 times
Been thanked: 29 times

Re: mem usage

Post by WingNut »

So the bigger program is down to 89%. Massive 10% reduction in program size :D

Post Reply