ox: Cache locations of fuzzy links
commitb7301bd639aa557dd9b57e77df8a8e45ff618740
authorLawrence Mitchell <wence@gmx.li>
Thu, 2 May 2013 09:03:13 +0000 (2 10:03 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 2 May 2013 12:50:42 +0000 (2 14:50 +0200)
tree78c13cff49cf48856ecc8493c5fb8219c61091b3
parentaf51c11ba96fb2d925722a0e3353b9af5b60a3e6
ox: Cache locations of fuzzy links

* ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
  cache before trying to resolve it in the parse tree.

When a document contains a large number of identical fuzzy links, it
doesn't make sense to continually search for them.  Instead, cache the
locations in the position independent case.
lisp/ox.el