aroz...@gmail.com writes: > Thanks Ihor for the response. Unfortunately, setting > org-element--cache-self-verify to nil didn't work. Profile report attached.
Thanks! I just pushed a slight optimization to the footnote sorting code. Can you try again using the latest main? https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=169333e1c -- 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>