Hi Arash, 2017-03-31 9:38 GMT+02:00 Arash Esbati <ar...@gnu.org>: > Mosè Giordano <m...@gnu.org> writes: > >> I think we all came up with similar solutions. I was concerned about >> performance of Arash's fix, but according to `benchmark-run' the >> overhead isn't large (slowdown of the order of few percents) and >> shouldn't be noticeable in normal situations. > > Hi Mosè, > > thanks for looking at it. I think I can tweak the function to get > faster by increasing `gc-cons-threshold' and changing the string-match > condition. Here is what I get with /1 as my original suggestion and /2 > the new one. Do you also want to give it a roll?
I don't think it's necessary to touch `gc-cons-threshold' here. When I expressed concerns about performance I was thinking that the function was called much more often, instead it's probably used once per visited document, or something like that. Bye, Mosè _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex