aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJames R. Barlow <james@purplerock.ca>2020-06-25 09:50:49 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2020-10-17 01:57:29 +0200
commit3fc7c99d02f9ba3045a7f085bf8f74132c174b59 (patch)
tree3e6171c0bffed9ccfc49d5dc87a11744cc6e84a2 /configure.ac
parent3221022fc9f10a3dd28a46e333485cfe3597c5c4 (diff)
downloadqpdf-3fc7c99d02f9ba3045a7f085bf8f74132c174b59.tar.zst
Replace memchr with manual memory search
On large files with predominantly \n line endings, memchr(..'\r'..) seems to waste a considerable amount of time searching for a line ending candidate that we don't need. On the Adobe PDF Reference Manual 1.7, this commit is 8x faster at QPDF::processMemoryFile().
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions