Running tons of strings filters can degrade distribution performance.
What we can do in case of unacceptable benchmarks is to pre-run string filters on all known NPCs (defined in the plugins) and transform string filter to a finite set of FormIDs, then a simple check whether set contains given NPC's FormID will produce a much faster result.
Running tons of strings filters can degrade distribution performance.
What we can do in case of unacceptable benchmarks is to pre-run string filters on all known NPCs (defined in the plugins) and transform string filter to a finite set of FormIDs, then a simple check whether set contains given NPC's FormID will produce a much faster result.