My code base is large as it supports LOTs of devices. Is there a way to exclude code based upon the device so the memory footprint is smaller for each device?
My code base is large as it supports LOTs of devices. Is there a way to exclude code based upon the device so the memory footprint is smaller for each device?
They work. I use them all the time in the Garmin apps.
Does what I've done look right? When I compile and run the memory usage has not changed at all despite tagging 90% of my code
It works... besides annotating your functions, obviously, you need to properly setup your jungles files:
approachs60.excludeAnnotations = bigMem
edge_520.excludeAnnotations = bigMem
fenix5.excludeAnnotations = bigMem
An alternative is to do a kinda negative exclude.
Eg
(:notMyTarget) var bob;
Then:
target.base.excludeAnnotations=bob
Then:
if(!(self has bob)) { //etc