Someone recently said that obfuscated plugins reduce game performance. I kind of handwavely dismissed their concern, because how bad could it possibly be? Terrible, it turns out.
I obfuscated a map editor thing I'm prototyping, and it became unbearably slow.
This is the project loading process with obfuscation:
This is the normal, non-obfuscated project loading process:
Here's what happens when using the ellipse tool to draw on a 256x256 map, obfuscated:
Here's the normal, non-obfuscated version:
Obfuscation turns code into spaghetti slop. Even the JavaScript engine has a hard time understanding it, so it can't optimize it. Surely there must be a better way to protect the code? A way that doesn't involve forcing users to experience excruciating slowness?
I obfuscated a map editor thing I'm prototyping, and it became unbearably slow.
This is the project loading process with obfuscation:
This is the normal, non-obfuscated project loading process:
Here's what happens when using the ellipse tool to draw on a 256x256 map, obfuscated:
Here's the normal, non-obfuscated version:
Obfuscation turns code into spaghetti slop. Even the JavaScript engine has a hard time understanding it, so it can't optimize it. Surely there must be a better way to protect the code? A way that doesn't involve forcing users to experience excruciating slowness?