[tex-k] Speed of kpsewhich when querying the repertories of theTeX installation

jfbu jfbu at free.fr
Sat May 2 19:30:05 CEST 2015


Le 2 mai 2015 à 18:13, Akira Kakuto <kakuto at fuk.kindai.ac.jp> a écrit :

> Hi,
> 
>> Although kpsewhich from TL2015 will be six times faster
>> on Mac OS, it is still frustrating to have perhaps still 75% of the launching time of AUCTeX mode explained by these remaining 3 kpsewhich calls.
> 
> If you make your own command kpsevarinfo by replacing
> cnf.c by cnf2.c, where in cnf2.c kpathsea_init_db (kpse);
> in the line 250 is omitted,
> kpsevarinfo -var-value=TEXMFHOME
> may be about 10 times faster than
> kpsewhich -var-value=TEXMFHOME
> 
> Note that kpsevarinfo may be usable only to obtain
> information on variables.
> 
> Best,
> Akira
> 

Thanks, looks promising indeed. Might be exactly what I was asking.

I am currently compiling. I looked at README2.building
but couldn't identify in the configure the option which would
allow me to compile kpsewhich separately, I launched ./Build

I will report later on timing

Best,
Jean-François


More information about the tex-k mailing list