Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0 PDFBox
-
None
-
None
-
Patch
Description
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