Re: Consumption of Memorory #UnO2


ossandust
 

A compiled setup doesn't contain any strings, since the FCB1010 doesn't use the string values. During compilation all possible values of a string variable are listed and converted to a 10-bit index  (a string variable can contain up to 1024 possible values). So the length of the string is not relevant for the setup size. 
It's not easy to calculate which approach will take most memory, you'll just need to try it out. A trigger is a good way to group commands which are often reused, but if the trigger only contains 2 MIDI commands and you always have to combine the "SendTrigger" command with some extra variable initialization code, it will take more memory than simply specifying the SendMIDI commands in the presets.

Join uno@fcb1010.groups.io to automatically receive all group messages.