Skip to content
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

Improve performance in big notebooks #4113

Open
Masterxilo opened this issue Oct 17, 2018 · 1 comment
Open

Improve performance in big notebooks #4113

Masterxilo opened this issue Oct 17, 2018 · 1 comment

Comments

@Masterxilo
Copy link

Cells that are not visible should not be rendered at all in the browser.

This way, we should be able to have a notebook with a billion cells (ignoring the issue of scrolling to a specific one...), because all that are not visible would be paged out to disk and represented by a single number describing their height (if that).

@Masterxilo
Copy link
Author

It should not be that it matters for performance whether I have 1000 notebooks I open one after the other or one where I scroll to 1000 sections.

This is very not true in all implementations of notebooks I have seen so far (they're all in-memory), but good word processors, all movie players and good text editors (vim, more) & most games stream in just the stuff that is needed right now.

This is a basic technique that should be used in all places where items can grow "infinitely".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant