-
Notifications
You must be signed in to change notification settings - Fork 160
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 Cell Display For Unchanged Cells #635
Comments
This seems very sensible. 👍 |
Great, I will work on upstreaming this code. I am also going to take on a few small refactors as well, I will do them in separate PR's |
I have started working on upstreaming what we have built, it may take a bit of adjustment to make it work with the setup in here versus our typescript setup. I would love to get some of @maraisr's work in so I don't have to fix a bunch of linter and typescript differences if those are being seriously considered. |
Motivation: During diffing Unchanged cells are displayed, which is not necessary. This is a performance issue when there are many unchanged cells. Related Issues: - jupyter#635 Open Questions: - I am struggling with getting the svg images to build properly. - How can this be tested in JupyterLab? Changes: - Alter Notebooks Widget to only display changed cells by using new linked list of cells. - Add new linked list of cells and lazy version of linked list of cells.
Motivation: During diffing Unchanged cells are displayed, which is not necessary. This is a performance issue when there are many unchanged cells. Related Issues: - jupyter#635 Open Questions: - I am struggling with getting the svg images to build properly. - How can this be tested in JupyterLab? Changes: - Alter Notebooks Widget to only display changed cells by using new linked list of cells. - Add new linked list of cells and lazy version of linked list of cells.
Motivation: During diffing Unchanged cells are displayed, which is not necessary. This is a performance issue when there are many unchanged cells. Related Issues: - jupyter#635 Open Questions: - I am struggling with getting the svg images to build properly. - How can this be tested in JupyterLab? Changes: - Alter Notebooks Widget to only display changed cells by using new linked list of cells. - Add new linked list of cells and lazy version of linked list of cells.
Motivation: During diffing Unchanged cells are displayed, which is not necessary. This is a performance issue when there are many unchanged cells. Related Issues: - jupyter#635 Open Questions: - I am struggling with getting the svg images to build properly. - How can this be tested in JupyterLab? Changes: - Alter Notebooks Widget to only display changed cells by using new linked list of cells. - Add new linked list of cells and lazy version of linked list of cells.
Rendering unchanged cells is a very high overhead process for NbDime. Currently all the cells are rendered and then hidden with css.
We are going to open a pull request to introduce a new method of Lazy Loading the unchanged cells only when needed. This will work in an expand up and down one cell at a time process.
We currently have this working in our nbdime spike on GitHub and once we have it well tested hope to upstream it here.
Before expansion
Expanded up
The text was updated successfully, but these errors were encountered: