Fabulous Adventures In Coding : VBScriptThe VBScript languageScripting Type Library Constant Injection Performance Characteristics, Part One- June 22, 2005 (Sorry about the title. I work for Microsoft; we like nouns.) Over a year ago now a reader noted in a comment to this posting that defining named constants using Const in VBScript or var in JScript is way, way faster than importing a type library. My empirical JScript testing showed that loading constants from a typelib is one or two orders of magnitude slower than preloading an engine with script which defines those same constants. I responded I wrote all the type library importation code --..http://blogs.msdn.com/ericlippert/archive/2005/06/22/scripting-type-library-constant-injec... |