-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazily instantiate codemirror instances
By taking advantage of the fact that a user can not interact with codemirror instance until they are in the viewport, we can be smart and only set the codemirror editors up once a user scrolls them into view. For small notebooks this change has a limited impact, however for large notebooks with 100s of code cells this change results in a significant performance boost to the application, especially in the initial time to render metric for notebooks. ref #1546 Fixes #178
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.