Pro text/hex editor
with Binary Templates

SweetScape Knowledgebase

KB1001: How can I speed up Scripts?
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).




Newsletter - Receive special offers, tips, tricks and news. Join now

010 Editor v15.0.1 is here!
What's new?



E-mail: info@sweetscape.com