darvid/python-hyperscan

Import time slowness due to pkg_resources

kaiw opened this issue · 1 comments

kaiw commented

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.

fixed in 0.3.0