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
lazy import module #7502
Comments
Attachment: 7502-lazy-import.patch.gz |
comment:2
By the way, is this up for review? |
comment:3
Yes. |
Attachment: 7502-lazy-import.2.patch.gz Also map tab completion. Add to reference manual. Rebased vs. 4.3.2.alpha0. Replaces previous. |
Author: Robert Bradshaw |
Reviewer: Mitesh Patel |
comment:4
My review is positive, but someone should review the changes in v2. |
comment:5
Thanks. Yes, your additions look good as well. |
Merged: sage-4.3.2.alpha1 |
comment:6
Merged 7502-lazy-import.2.patch. |
This is something I came up with when trying to reduce sage start up time.
Now notebook() needs to be in the global namespace, but usually the entire notebook server does not need to be loaded. I'm sure there's other trimming we could do here as well.
It's unclear what level to put this in, but I would think sage.server.notebook.all would be a good place (e.g. we could lazily import interact., sage_email., and lazily import notebook and inotebook). That could cut down startup time by 25%.
Component: user interface
Author: Robert Bradshaw
Reviewer: Mitesh Patel
Merged: sage-4.3.2.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/7502
The text was updated successfully, but these errors were encountered: