"Aaron" <ku*****@yahoo.com> wrote in message
news:uU**************@TK2MSFTNGP15.phx.gbl...
How would code obfuscation affect performance? in .net C#
According to "Preemptive Solutions"
(
http://www.preemptive.com/obfuscation-faq/), Obfuscation has the following
effect on performance:
"Software obfuscation tools need not slow performance. In fact, a
sophisticated Java or .NET obfuscation tool can improve performance by
compacting applications. Optimal application of overload induction
techniques will reuse identifier names, and other functions will prune
unused classes, methods, instance variables, and design time metadata. The
size reduction can range from 20-40% or more of an application's size.
Compacted programs often load faster and run in less memory. Moreover,
networked distribution of components is more efficient because application
size is reduced."
However, it's a sure bet that they did not consider encryption of strings in
this. Encryption would slow down your application, as might changing the
flow of the program logic, but that would need to be balanced against your
security requirements.