unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Expected performance impact? #24

Closed elimisteve closed 4 years ago

elimisteve commented 4 years ago

How much slower should we expect our code to run stemming from the added decryption and indirection?

Thanks!

unixpickle commented 4 years ago

The only runtime impact will occur when strings are used. Encrypted package names, method names, etc. should have no effect. So the performance impact will greatly depend on how often your program uses hard/coded strings.