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

Import time slowness due to pkg_resources #38

Closed
kaiw opened this issue Mar 23, 2022 · 1 comment
Closed

Import time slowness due to pkg_resources #38

kaiw opened this issue Mar 23, 2022 · 1 comment

Comments

@kaiw
Copy link

kaiw commented Mar 23, 2022

hyperscan itself takes basically no time to import, but its use of pkg_resources makes it slow. On my current system, pkg_resources takes approximately 140ms, and appears to be used here only to provide __version__. For applications sensitive to start-up times, it would be nice to be able to avoid this cost.

@darvid
Copy link
Owner

darvid commented Apr 11, 2022

fixed in 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants