CommandHelper

CommandHelper

46.5k Downloads

Prefilters could be faster

LadyCailinBot opened this issue ยท 0 comments

commented

CMDHELPER-3097 - Reported by PseudoKnight

While prefilters are generally faster than scripts, they're more designed for organizational purposes than speed. Throwing an exception isn't exactly the fastest, and since we don't need a stacktrace, we could probably optimize that. There's also a few instances of it converting data unnecessarily and regexing twice. I'd like to improve this.