[PATCH] i18n: cache the result of every gettext call

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Oct 17 17:32:43 CDT 2014



On 10/17/2014 03:30 PM, Matt Mackall wrote:
> On Fri, 2014-10-17 at 18:21 -0400, Augie Fackler wrote:
>> # HG changeset patch
>> # User Augie Fackler <raf at durin42.com>
>> # Date 1413568330 14400
>> #      Fri Oct 17 13:52:10 2014 -0400
>> # Node ID b5ad46ae0e6a49525fb9d8268a61c517a271763e
>> # Parent  149fc8a44184fbeddd9d9602e3860455e92c1301
>> i18n: cache the result of every gettext call
>
> Queued for default..

Note: I'm to repro the speedup but this is not super obvious so far.

mostly move my mozilla-central log from 31s to 28s. This is a speedup. 
But not as big as the advertised one.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list