Maxim Nikulin <maniku...@gmail.com> writes: > It is strange. Merely 3500 markers created by org-refile-cache in 2.2Mb > file ruin performance of regexps in that buffer. I would expect either > no influence of markers at all since search is a read-only operation or > some negligible penalty proportional to fraction of markers in relation > to total amount of characters. > > Look at the numbers for nm-test that is just some regexp searches from > `org-buffer-property-keys'. Performance is restored after clearing of > the cache. > ...
This is no longer reproducible on the latest Emacs master, after a couple of improvements in the marker handling. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>