Axel Howind created PDFBOX-5574:
-----------------------------------
Summary: simplify map operations
Key: PDFBOX-5574
URL: https://issues.apache.org/jira/browse/PDFBOX-5574
Project: PDFBox
Issue Type: Improvement
Reporter: Axel Howind
Fix For: 3.0.0 PDFBox
Attachments: simplify_map_operations.patch
simplify operations on Map instances:
- avoid unnecessary map.get() calls by iterating over entry sets instead key
sets where possible
- avoid accessing the same map entry multiple times by using
map.computeIfAbsent(), map.putIfAbsent() etc.
- use bulk operations where possible
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]