DelphiTools – A compiled script, a TdwsProgram, can’t be saved to a file, and won’t ever be. Why is that? This is a question that dates back to the first DWS, as it was re-asked recently, I’ll expose the rationale here. DWS has a very fast compiler, it’s no performance problem to compile scripts instead of loading a binary representation that has to be de-serialized. How fast is it? See below. DWS lets you define custom filters, that enable you to encrypt your scripts easily, if hiding the script source is what you were after with the bytecode. DWS compiler/parser portion is quite light ...
Visits by Source
Users who voted for this posting