perf: Performance Enhancement - #144
Conversation
c88c7e2 to
83f066b
Compare
a08cac4 to
2bbbd76
Compare
EmperorYP7
left a comment
There was a problem hiding this comment.
LGTM! Thanks for pointing it out and creating a PR 😄
By the way, we use semantic pull requests for this project, so you might want to sign-off all your commits and change the title to something like:
chore: Performance Enhancement
2bbbd76 to
e845107
Compare
Signed-off-by: Laszló Szabó <lszabo@us.opswat.com>
Signed-off-by: Laszló Szabó <lszabo@us.opswat.com>
e845107 to
b9c3705
Compare
@hsluoyz I think we should re-trigger the CI as it was interrupted due to reasons outside the scope of the project. (Maybe something’s up with GH Actions) |
Yeah it seems something off with CI, my changes should not change behaviour, only increase performance. |
|
I checked it multiple times, it is working locally. |
|
Is it hanging? |
|
@hsluoyz kindly re-run all jobs under GitHub Actions for this PR. |
|
This is ready to be merged now. |
|
🎉 This PR is included in version 1.38.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fix: #143
Having the list of functions growing with every enforcement makes the context creation slower and slower, every enforcement is linearly slower than the previous.
Having a 100k string vector reserved makes enforcement very slow and it is invaluable.