-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Performance issues after undoing pasting a lot of content #715
Comments
Some observations and ideas:
So these are two first places to look for speed. |
@scofalik confirmed that this should be possible. Basically, we need to store a 2-dimensional map of (delta,delta=>value). Right now we use a nested maps for that (like |
π Is this a bug report or feature request? (choose one)
π» Version of CKEditor
π Steps to reproduce
β Expected result
Undoing should not take disturbingly long (max 1s seems reasonable for this content).
β Actual result
Undoing takes a couple of secs.
π Other details that might be useful
See also: https://github.com/ckeditor/ckeditor5-undo/issues/65#issuecomment-313668491 and https://github.com/ckeditor/ckeditor5-engine/issues/897
The text was updated successfully, but these errors were encountered: