I spent the whole of yesterday completely rewriting my compiler to use an external instruction library rather than having everything hardcoded in the compiler syntax checker. Doing this allowed me to remove well over 1000 lines of code and about 50 different methods and functions.
The surprising upshot of this is that the built app size has dropped from 26meg to 16.8meg and I’m not sure why. Doing an aggressive build also now only takes about 30 seconds rather than greater than 5 minutes.
I would love to know if anyone has any ideas as to why there is such a massive size reduction and build speed change. Not that I’m complaining I think the change is great, but it confuses me as the methods and functions I removed were tiny with no more than a few lines of code each. I did previously use very large and complex select case statements which I have for the most part replaced with lookup lists.