diff options
author | Simon Reinhardt <simon.reinhardt@stud.uni-regensburg.de> | 2015-12-27 20:06:01 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | cd2f3892277db2041ee00cedbd6bff9a5e0dd461 (patch) | |
tree | 8a8e016a474ad2b43af59f76eb1db87547670715 /source/gprf | |
parent | d299bd0ab5f2d1ede4266febe5728a0f4075b961 (diff) | |
download | mupdf-cd2f3892277db2041ee00cedbd6bff9a5e0dd461.tar.xz |
Speed up fz_ftoa.
During pdf_save_document the main performance bottleneck is the formatting
of floats to decimal ASCII representations in fz_ftoa.
Fix this by using the Grisu2 algorithm, the fastest known algorithm for
accurate printing of IEEE floating point numbers while minimizing the number
of produced decimal digits.
This requires no libc support, only integer arithmetic.
Diffstat (limited to 'source/gprf')
0 files changed, 0 insertions, 0 deletions