Edit Anything

Professional text and hex editing
with Binary Templates technology.






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).



Back to knowledgebase index
Back to main support page



Our Products


Latest News


Download
- 010 Editor
v5.0.2
is now available.

Download it now!
What's New in 5.0.2?


Newsletter
Join our newsletter to receive tips and tricks on hex editing, special offers, and news from SweetScape Software Inc.

Sign-up Now...