ScriptBasic:UsersGuide 4.1

From ScriptBasic
Revision as of 05:52, 7 December 2007 by Roberto lo Storto (talk | contribs) (Unprotected "ScriptBasic:UsersGuide 4.1")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


4. Code caching

4.1. How cache file name is calculated

[<<<] [>>>]

The cache file name is calculated from the source file name. The applied algorithm calculated the MD5 digest of the source file name and converts it to a 32-character string. The digest itself is 16 bytes long. The conversion to ASCII takes the 32 half-bytes. Each half byte can have a value from zero to 15. Zero is converted to A, 1 to B and so on. This method was introduced in ScriptBasic v1.0build18 and eliminates some shortages of the algorithm of former versions.

[<<<] [>>>]