freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compressed streams


From: Alexei Podtelezhnikov
Subject: compressed streams
Date: Tue, 15 Sep 2020 09:36:16 -0400

Hi all,

These are some horrible numbers that essentially test FT_Load_Glyph
from compressed unifont.pcf.gz in reverse order:

$ time bin/ftstring -k3q -mZYXWVUTSRQPONMLKJIHGFEDCBA 15
../unifont-12.0.01.pcf.gz
FreeType String Viewer - press ? for help
Execution completed successfully.

real    0m6.062s
user    0m6.005s
sys     0m0.053s

The same string forward is much faster:

$ time bin/ftstring -k3q -mABCDEFGHIJKLMNOPQRSTUVWXYZ 15
../unifont-12.0.01.pcf.gz
FreeType String Viewer - press ? for help
Execution completed successfully.

real    0m0.486s
user    0m0.456s
sys     0m0.016s

Is it well known that rewinding the compressed stream is so
prohibitively expensive? Or, is this a bug?

Thank you,
Alexei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]