[Poppler-bugs] [Bug 89096] [patch] reduce use of gmalloc() in GooString::appendfv()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 12 13:24:56 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89096
--- Comment #2 from William Bader <williambader at hotmail.com> ---
I put my copy of the file at
http://williambader.com/2-DESCR_648853-IT-EN-DE_MANITOU_RIGENERATO.pdf
pdftops has to write a lot of formatted strings, especially for PDFs that draw
a lot of lines. I think that the calls to write formatted strings (which end
up as calls to appendfv()) are necessary. My patch just saves appendfv() from
making a malloc call for a small, fixed size chunk of memory each time that it
is called. In the test file, all of the calls have 8 arguments or less, and
appendfv() never needs to reallocate the argument buffer.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150212/5055987b/attachment.html>
More information about the Poppler-bugs
mailing list