Lua: Difference between revisions

No edit summary
No edit summary
Line 38: Line 38:
</pre>
</pre>


Optionally, function performance can be profiled by turning on a flag. You can read the results of the function profiler with:
Optionally, function performance can be profiled by turning on a flag (which is governed by the <code>scriptProfile</code> CVar. You can read the results of the function profiler with:


<pre>
<pre>