30.09.2017, 17:46
Quote:
Edit: Nope...
Edit 2: 57% of that execution is spent in this function: https://github.com/Zeex/amx_assembly....inc#L243-L277 I can see why it would be so slow - it runs all that code for almost every cell in your code, multiple times! I mean the code was never designed for speed, since it is only run once at startup. I've never been too concerned with startup times, only live execution times, so if there is ever a way to speed up execution at the cost of startup, I will always take it (unless the code is very complex). In this case, however, I might have to rethink. Expecially code that is not too well written - large functions with high cyclomatic complexity will not treat that function well. |