[
https://issues.apache.org/jira/browse/PDFBOX-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1005.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Assignee: Andreas Lehmkühler
I added the patch as proposed by Kevin Jackson in revision 1097910.
It really speeds the loading and the processing of a pdf up, e.g. the text
extraction of the pdf 1.7 reference:
- before: loading 50 seconds, processing 90 seconds
- after: loading 9 seconds, processing 14 seconds
Thanks for the contribution
> Unnecessary filling new array with zeros in RandomAccessBuffer::write(byte[],
> int, int)
> ---------------------------------------------------------------------------------------
>
> Key: PDFBOX-1005
> URL: https://issues.apache.org/jira/browse/PDFBOX-1005
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 1.5.0
> Reporter: Sergey Vladimirov
> Assignee: Andreas Lehmkühler
> Fix For: 1.6.0
>
> Attachments: RandomAccessBuffer.java
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> it is not required to fill new array with zeros, because it's done by JVM
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira