[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] A problem with \parencite and fill-paragraph
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] A problem with \parencite and fill-paragraph |
Date: |
Fri, 31 Mar 2017 14:11:43 +0200 |
Hi Arash,
2017-03-31 9:38 GMT+02:00 Arash Esbati <address@hidden>:
> Mosè Giordano <address@hidden> 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è