davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
421 stars 59 forks source link

i80: grabbag of optimisations #166

Closed davidgiven closed 5 years ago

davidgiven commented 5 years ago

This applies a number of code optimisations, mostly involved round helper routines for signed comparisons and allocating a rst to call them. Interestingly, it turns out that using a rst for unsigned comparisons is barely worth it (a handful of bytes per program) due to marshalling overhead.

Star Trek goes from 40452 to 39375 bytes.