AceInfinity
Emeritus, Contributor
I have a suggestion that I think is probably beneficial in this case. Most common, for the speed of the apps, but this comes with a few other benefits too. Unless you really take an inside look at writhziden's apps though you probably wouldn't notice it unless your computer hardware is really junky.
Since you're still using .NET, your assembly is compiled down to MSIL. This means that every time you run the program, it has to be recompiled by the JIT compiler (at runtime). Microsoft has a utility where you may pre-compile the assembly into a native image, where the processor itself can understand these instructions itself without having to go through the JIT compiler firsthand, and this native image goes into the native image cache.
The utility i'm talking about is NGEN (ngen.exe).
A few advantages of using NGEN include, reduced memory footprint by reducing the private memory pages used by the aplication (obviously in which would also have a good impact on system-wide memory), and faster application load time. Among other benefits, these are probably going to be the most applicable.
edit: writhziden you're not using a lot of try statements are you? :confused2:
~AceInfinity
Since you're still using .NET, your assembly is compiled down to MSIL. This means that every time you run the program, it has to be recompiled by the JIT compiler (at runtime). Microsoft has a utility where you may pre-compile the assembly into a native image, where the processor itself can understand these instructions itself without having to go through the JIT compiler firsthand, and this native image goes into the native image cache.
The utility i'm talking about is NGEN (ngen.exe).
A few advantages of using NGEN include, reduced memory footprint by reducing the private memory pages used by the aplication (obviously in which would also have a good impact on system-wide memory), and faster application load time. Among other benefits, these are probably going to be the most applicable.
edit: writhziden you're not using a lot of try statements are you? :confused2:
~AceInfinity
Last edited: