[luatex] LuaTeX precompilation
luigi scarso
luigi.scarso at gmail.com
Fri Dec 22 01:58:58 CET 2023
On Fri, 22 Dec 2023 at 01:21, Reinhard Kotucha via luatex <luatex at tug.org>
wrote:
> On 2023-12-21 at 10:27:48 +0100, Hans Hagen wrote:
>
> > I stop here as I've written plenty about performance the last
> > decades in various docs,
>
> Hi Hans,
> please let me mention this though:
>
> A few months ago I uncompressed the lualatex format file and
> compressed it with lz4. The lz4-compressed file was smaller than the
> original format file. Though I know that luatex doesn't use maximum
> gzip compression, I didn't really expect this.
>
> 26702648 lualatex.fmt-uncompressed
> 12201683 lualatex.fmt
> 9926586 lualatex.fmt.lz4
>
> But what I absolutely didn't expect is that de-compression of lz4
> files is about 7.5 times as fast as de-compression of the gzip'ed
> format file.
>
> In order to determine speed I directed the de-compressed output to
> /dev/null because when writing to disk results differ much more
> between successive runs and a format file is extracted in memory and
> not written to disk.
>
> Maybe it's worthwhile to keep an eye on lz4.
>
>
Good to know. A quick search, just for the record:
https://manishrjain.com/compression-algo-moving-data
But I think lz4 is better than zstd for a format.
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20231222/02bd8776/attachment-0001.htm>
More information about the luatex
mailing list.