There are a few techniques that can sometimes be used to speed up the execution of
scripts. If you are calling the 'ReadByte' or 'WriteByte' function many times, consider using the
'ReadBytes' or 'WriteBytes' functions to read or write a block of a file at a time (see the IsASCII.1sc
script for an example). If your script makes many modifications to the file, you can
turn off undo support using the 'DisableUndo' function. Note that scripts are
compiled into a byte-code like structure, which means they will run quite fast but
not as fast as a fully compiled program (although script files do not have a long
compile and link stage as with traditional compilers).