Re: [O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Nicolas Goaziou
Correcting myself: > Sorry for being dense, but why do you use _path_, which is a string and, > as you say, requires `equal' for equality, instead of the first argument > of the function, i.e. _link_, which only needs `eq'? Forget it. Caching LINK will only be useful when resolving the very same

Re: [O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Nicolas Goaziou
Hello, Lawrence Mitchell writes: > * 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, ca

[O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Lawrence Mitchell
* 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