summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-04-30 18:35:03 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-30 18:35:03 +0000
commit94161d59fd3c815e404fb3f027becf056516a5da (patch)
tree2adedc73bd5c562cb49e216f3b7345ab587b7e0b /.gitignore
parentda8063f087c379bfd286624338d31a112cae5ba4 (diff)
downloadpdfium-94161d59fd3c815e404fb3f027becf056516a5da.tar.xz
Optimize yet another piece of barcode code
Rolling two iterations over the input into one, and reserving the maximum possibly output size to avoid memory thrash when appending. Under Valgrind this reduces the instruction count by ~200x BUG=chromium:837610 Change-Id: If12a3b98048b41906a4401d4dcc9470b513e28d2 Reviewed-on: https://pdfium-review.googlesource.com/31731 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions