[
https://issues.apache.org/jira/browse/PDFBOX-3868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3868.
-------------------------------------
Resolution: Fixed
That's it for now. There are still some left, but these are not that important
and working on them would require injecting PDDocument or COSDocument at
packages where these aren't used yet.
So the mean thing we got is 1) a comment 2) smaller memory footprint when
saving PDF files with XRef streams or when doing visible signing.
> Optimize usage of COSStream construction
> ----------------------------------------
>
> Key: PDFBOX-3868
> URL: https://issues.apache.org/jira/browse/PDFBOX-3868
> Project: PDFBox
> Issue Type: Improvement
> Components: Documentation, PDModel
> Affects Versions: 2.0.6
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Labels: optimization
> Fix For: 2.0.7, 3.0.0
>
>
> The COSStream() constructor is evil... discovered in PDFBOX-3852: it creates
> a new memory scratch file... which is an array with 100000 entries. I'll
> improve the javadoc and make some changes to avoid the usage when possible.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]