> FWIW, I think Emacs has a branch (feature/noverlay) which has been > reported to improve performance with overlays. AFAICT it's just hanging > there waiting to be merged (though a naive "git merge" reveals some > conflicts); some quick Googling suggests it has last been discussed two > years ago:
That branch is around for a very long time. The last attempt on it was back in December [1]. However, all the progress was only in tests, not in actual code. As I mentioned in the discussion about using properties instead of overlays, I prefer to modify org now rather than waiting for someone to finalise and merge that branch. Also, text properties appear to use less memory. Best, Ihor [1] https://lists.gnu.org/archive/html/emacs-devel/2019-12/msg00115.html Kévin Le Gouguec <kevin.legoug...@gmail.com> writes: > Thank you for taking the time to make this write-up. > > Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > >> With overlays, you can't have your cake >> and eat it too. > > FWIW, I think Emacs has a branch (feature/noverlay) which has been > reported to improve performance with overlays. AFAICT it's just hanging > there waiting to be merged (though a naive "git merge" reveals some > conflicts); some quick Googling suggests it has last been discussed two > years ago: > > https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00565.html > -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yanta...@gmail.com, ihor_radche...@alumni.sutd.edu.sg