Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-run string filters #70

Open
adya opened this issue Jan 2, 2025 · 0 comments
Open

Pre-run string filters #70

adya opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@adya
Copy link
Collaborator

adya commented Jan 2, 2025

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.

@adya adya added the enhancement New feature or request label Jan 2, 2025
@adya adya self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant