14 lines
667 B
Plaintext

------------------------------------------------------------------------
This mod transparently add caching around player privilege checks, to
work around a significant engine performance problem when player
privileges are checked continuously by mods. Unless new privilege-
related APIs are added later, this mod should just automatically fix
privilege check performance issues with no other side effects.
The logic is basically copied from NodeCore, and is redundant with
NodeCore's fix, but the two should not conflict, and should only have
negligible marginal cost if both are applied.
------------------------------------------------------------------------