-
Notifications
You must be signed in to change notification settings - Fork 32
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
No more pkg_resources #882
Conversation
…and move ocrd-tool.json to a importlib findable place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if performance gain is yet to be proven, I see no reason why it would degrade performance either, so LGTM, thanks for following up on the discussion.
I just removed the WIP label, as the implementation is finished. The performance improvement is neglible, as far as I could interpret the profiler, the startup time is spent mostly on importing modules, and I have no clue how to improve on that. |
A first attempt to get rid of pkg_resources as mentioned in #881
I did not measure anything yet, and subjectively not much changed, but we'll see.