Compiler Bloat

Miscellaneous Forums/General Discussion/Compiler Bloat

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


My compiler is made on these principles, SMALL=FAST



I disagree with this.

Sometimes you need to bloat the code to produce an instruction block that would otherwise be badly performant due to code alignment.

Also, certain compilers (though I can't speak for Blitz in this regard), will in-line function instructions or unroll loops to favor code that executes faster rather than worrying about executable size.

Fast code execution has far more to do with the CPU expense of instructions than their final executable size.