Commit c77692e
Backport commit f94e93a6e from Emacs
* lisp/oc.el (org-cite-list-citations): Avoid quadratic complexity.
Pre-calculate list of all footnote definitions and cache the footnote
label search hits. Do not make `org-element-map' accumulate unused
result.
org-cite-list-citations: Cache footnote-definition searches
f94e93a6eec92d834a6b545d8d4b68280b0993b0
Ihor Radchenko
Thu Jun 16 10:55:05 2022 +0300
[ km: This ported commit comes from main's b061e7b. I'm applying it
here too for bookkeeping/traceability purposes. ]1 parent 0da6c49 commit c77692e
1 file changed
+19
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| 811 | + | |
| 812 | + | |
811 | 813 | | |
812 | 814 | | |
813 | 815 | | |
| |||
816 | 818 | | |
817 | 819 | | |
818 | 820 | | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
824 | 836 | | |
825 | 837 | | |
826 | 838 | | |
| |||
834 | 846 | | |
835 | 847 | | |
836 | 848 | | |
837 | | - | |
| 849 | + | |
| 850 | + | |
838 | 851 | | |
839 | 852 | | |
840 | 853 | | |
| |||
0 commit comments