/[Apache-SVN]
ViewVC logotype

Revision 1919239


Jump to revision: Previous Next
Author: centic
Date: Mon Jul 15 05:41:14 2024 UTC (3 months, 2 weeks ago)
Changed paths: 1
Log Message:
Optimize generating numbers for bullets in Word

Using char[] instead of String improves performance of this
operation considerably, especially in JDK 11+ where StringBuilder
was switched to work on bytes instead of chars.

This is likely only relevant for very large documents, it was visible
in a synthetic test-file from fuzzing.

Changed paths

Path Details
Directorypoi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/NumberFormatter.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26