Optimization for Console Pi App?

Hello all.

I was wondering what effect, if any, switching to agressive optimization would have when compiling a console app to run on an ARM platform. It does appear to work, but the file size is basically doubled. It appears to run marginally faster. But really wanted to know if there is any planned benefit to doing so?

Thoughts?
Tim

You might want to read the compiler 101 series on the Xojo blog for some details on how compiler optimization works. It might indeed influence the file size as some flags cause it to use techniques like loop unrolling.

Im many cases, a math-intensive app will profit most from aggressive setting. On the other hand, ARM might have different optimization specialties than Intel. If a few tests do not reveal any real benefit, I’d go with standard settings. Especially if the app is no number cruncher.