[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-06-26 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17860122#comment-17860122 ] Jonathan Prates commented on PDFBOX-5823: - hi [~lehmi] is there any estimated date for the 3.0.3

[jira] [Commented] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-06-12 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17854362#comment-17854362 ] Jonathan Prates commented on PDFBOX-5824: - Thank you both once again for the hard working on

[jira] [Commented] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-06-10 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17853748#comment-17853748 ] Jonathan Prates commented on PDFBOX-5824: - Thank you both. SmallMap seems to be part of some

[jira] [Commented] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-06-10 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17853668#comment-17853668 ] Jonathan Prates commented on PDFBOX-5824: - [~tilman] [~lehmi] can you please have a look on this

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-23 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848978#comment-17848978 ] Jonathan Prates commented on PDFBOX-5823: - [~lehmi] thanks! this alternative solves the memory

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848357#comment-17848357 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/21/24 7:25 PM: -- I've

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848357#comment-17848357 ] Jonathan Prates commented on PDFBOX-5823: - I've attached a profiler screenshot and seems like

[jira] [Updated] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5823: Attachment: Main-1.java > StringUtil.PATTERN_SPACE memory optmisation >

[jira] [Updated] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5823: Attachment: Screenshot 2024-05-21 at 20.21.43.png > StringUtil.PATTERN_SPACE memory

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848329#comment-17848329 ] Jonathan Prates commented on PDFBOX-5823: - [~lehmi] I believe asPredicate() will instantiate a

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848277#comment-17848277 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/21/24 4:22 PM: --

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848277#comment-17848277 ] Jonathan Prates commented on PDFBOX-5823: - Agree, we could copy StringUtils.isBlank() code

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848277#comment-17848277 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/21/24 4:21 PM: --

[jira] [Commented] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17848182#comment-17848182 ] Jonathan Prates commented on PDFBOX-5824: - Patch used https://github.com/apache/pdfbox/pull/196

[jira] [Updated] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5824: Attachment: Screenshot 2024-05-21 at 11.00.25.jpg > Allow COSDictionary.MAP_THRESHOLD to

[jira] [Updated] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5824: Attachment: (was: Screenshot 2024-05-21 at 11.00.25.png) > Allow

[jira] [Updated] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5824: Description:

[jira] [Updated] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5824: Description:

[jira] [Created] (PDFBOX-5824) Allow COSDictionary.MAP_THRESHOLD to be defined as System property

2024-05-21 Thread Jonathan Prates (Jira)
Jonathan Prates created PDFBOX-5824: --- Summary: Allow COSDictionary.MAP_THRESHOLD to be defined as System property Key: PDFBOX-5824 URL: https://issues.apache.org/jira/browse/PDFBOX-5824 Project:

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847912#comment-17847912 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/20/24 4:50 PM: --

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847912#comment-17847912 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/20/24 4:08 PM: --

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847912#comment-17847912 ] Jonathan Prates commented on PDFBOX-5823: - [~lehmi] I tested it locally and indeed it is way

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847855#comment-17847855 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/20/24 12:44 PM: ---

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847855#comment-17847855 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/20/24 12:44 PM: ---

[jira] [Comment Edited] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847855#comment-17847855 ] Jonathan Prates edited comment on PDFBOX-5823 at 5/20/24 11:26 AM: ---

[jira] [Updated] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5823: Attachment: Main.java > StringUtil.PATTERN_SPACE memory optmisation >

[jira] [Commented] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17847855#comment-17847855 ] Jonathan Prates commented on PDFBOX-5823: - Sure, I mean, contains() is slower for big strings,

[jira] [Updated] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Prates updated PDFBOX-5823: Description: PDAbstractContentStream uses StringUtil.PATTERN_SPACE regexp to evaluate if

[jira] [Created] (PDFBOX-5823) StringUtil.PATTERN_SPACE memory optmisation

2024-05-20 Thread Jonathan Prates (Jira)
Jonathan Prates created PDFBOX-5823: --- Summary: StringUtil.PATTERN_SPACE memory optmisation Key: PDFBOX-5823 URL: https://issues.apache.org/jira/browse/PDFBOX-5823 Project: PDFBox Issue