You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifmath.abs(1-funcResults.diffTimePerCall) >0.20then-- It may fluxuate between builds because of different runners/hardware but it shouldn't worsen by more than 20%
223
-
print("::warning title=" ..funcName.."::Performance is worse beyond expectation")
222
+
localdiff=funcResults.diffTimePerCall
223
+
localmaxDiff=0.20-- It may fluxuate between builds because of different runners/hardware but it shouldn't worsen by more than 20%
We need a custom version since the original does NOT allow one to hook multiple instances if they have different VTables.<br>
2
+
We hit this special case with the `CLuaInterfaceProxy` inside of `lua.cpp` were we can hook both into Gmod's `ILuaInterface` VTable but **also** into our own `ILuaInterface` VTable which wasn't possible previously and it only hooked into the first VTable while for the second one it never hooked into it even though it would report hooking as successful.
0 commit comments