You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by royguo <gi...@git.apache.org> on 2016/10/03 15:56:36 UTC
[GitHub] pdfbox pull request #27: Update PDFStreamEngine.java
GitHub user royguo opened a pull request:
https://github.com/apache/pdfbox/pull/27
Update PDFStreamEngine.java
No need to allocate a new ArrayList here, reduce text extraction time from 16 seconds to 14 seconds on a 4.2M pdf.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/royguo/pdfbox trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/27.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #27
----
commit 59bcfbd7168f22aae4e8c4f1ec50b52b3aaddc58
Author: Roy Guo <ro...@gmail.com>
Date: 2016-10-03T15:35:11Z
Update PDFStreamEngine.java
There's no need to allocate new ArrayList in `processStreamOperators`. In my test case of a `4.2M` pdf, text extraction reduce from 16 seconds to 14 seconds.
commit de1050737895dfa548954caf90c998e5e7f54d88
Author: Roy Guo <ro...@gmail.com>
Date: 2016-10-03T15:55:39Z
Update PDFStreamEngine.java
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org