Speeding up i18n

Matthias Kretz kretz at kde.org
Tue Feb 3 09:53:18 GMT 2009


On Tuesday 03 February 2009 10:22:07 Johannes Sixt wrote:
> John Tapsell schrieb:
> >   Has anyone looked into speeding up i18n calls by generating the
> > string hash at compile time rather than at runtime.
>
> I wouldn't do that. That would take away the freedom to change the hash
> algorithm by a library update.

I'm not sure a library can update its hash algorithm without breaking 
compatibility. Storing a hash value to a file is not prohibited and can be 
useful for some caches.

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/





More information about the kde-core-devel mailing list