You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching for common strings in a large file, clearing the search can take a long time because of the onDidDestroy listeners registered on individual markers. Currently, Atom itself uses these listeners, but when atom/atom#13516 lands, we will no longer need them, which will significantly improve the responsiveness of find-and-replace.
As part of testing that PR, I fired up this package, and I noticed that it prevents the performance improvement from taking affect because it also uses decorateMarker with individual markers. Have you looked into switching to the more performant TextEditor.decorateMarkerLayer API?
The text was updated successfully, but these errors were encountered:
Copied from: https://github.com/atom-minimap/minimap-find-and-replace/issues/20
linter-ui-default/lib/editor/index.js
Line 350 in 242a5b2
When searching for common strings in a large file, clearing the search can take a long time because of the onDidDestroy listeners registered on individual markers. Currently, Atom itself uses these listeners, but when atom/atom#13516 lands, we will no longer need them, which will significantly improve the responsiveness of find-and-replace.
As part of testing that PR, I fired up this package, and I noticed that it prevents the performance improvement from taking affect because it also uses decorateMarker with individual markers. Have you looked into switching to the more performant TextEditor.decorateMarkerLayer API?
The text was updated successfully, but these errors were encountered: