source-sdk-2013
source-sdk-2013 copied to clipboard
perf: use static ConVarRefs during relatively hot functions
instead of doing a O(n) lookup per frame in some cases, we can just init the ConVarRef once
these ones are just possible during runtime or called relatively more compared to other non-static ConVarRefs
there is one in R_LoadSkys for skyname as well, but not sure if that was fixed or not