Closed WassCodeur closed 2 months ago
Thank you for this. Can you rebase ?
Hi @WassCodeur , why does this have the keyword decorator commit? Also, I believe you should have a look at the lazy loading implementation in Scikit-Image. You will have to make changes in pyproject.toml
Hi @deka27!
Thank you. By the way, I had created the lazy_loader branch from the keyword_only branch. Thanks a lot for the reminder to update the pyproject.toml
.
Okay, I understand. I feel you could have implemented as a new feature branch only (it will be tough to review both features at once, so u might need to rebase properly).
Also u might need py.typed
file (this is so that type_stub
files are compiled properly).
Okay, thanks a lot @deka27 . I'll look into integrating py.typed
.
This pull request introduces the
lazy_loader
feature to optimize module loading in theFURY
. Lazy loading improves performance by deferring the loading of modules until they are actually needed, thus reducing startup times and memory footprint.Changes included in this PR:
FURY
.__init__.py
files to support lazy loading where necessary.__init__.pyi
) to provide type indications for lazy loading modules.This feature aims to improve the user experience by speeding up application start-up and improving overall performance in scenarios where not all modules are immediately required.