Quantcast
Viewing all articles
Browse latest Browse all 3317

programming • Re: Optimisation

At the risk of pointing out the obvious, you can use a BASIC crunching utility (my favourite being ABE's PACK, as ably championed by lurkio, and available from the modern command line via basictool) to get some of these optimisations performed automatically. They will merge multiple lines together, remove extra whitespace and change the variable names to both shorten them and spread them out across the alphabet.
And, bringing together two themes, keep your master code as "source", and crunch it to create the "executable". You can simplify this with EXEC files to automate things. Eg:
LOAD "myprog/src"
*CRUNCH (or your crunch command of preference)
SAVE "myprog"


You can go further than this into more advanced program building by importing common bits of code to build the executable. See the final section of this document

Statistics: Posted by jgharston — Sat Dec 07, 2024 4:12 am



Viewing all articles
Browse latest Browse all 3317

Trending Articles