Cyruz143 / ark_inhouse

Collection of in-house mods for various gameplay tweaks + fixes
http://www.ark-group.org
8 stars 7 forks source link

EH optimisation #40

Closed Cyruz143 closed 6 years ago

Cyruz143 commented 6 years ago

Remove in-line EH code and replace with functions as...

Code block is stored as string and recompiled before every execution.
So you can have a benefit by putting it into a variable and using a short code ala:
{call my_fnc_function}
Cyruz143 commented 6 years ago

https://github.com/Cyruz143/ark_inhouse/commit/3f4792e4cd49752d62f3083be2944d51c4774fc5