diff options
author | Dominik Stadler <centic@apache.org> | 2024-07-15 05:41:14 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2024-07-15 05:41:14 +0000 |
commit | 719e7154a19c00e1c2464e5f93a1567d8ca5ed72 (patch) | |
tree | 7770905ba7f96075670ac8f354bfe11b671584fa /poi | |
parent | a9717512382201ee290a4d1e52c6f195db16e8ab (diff) | |
download | poi-719e7154a19c00e1c2464e5f93a1567d8ca5ed72.tar.gz poi-719e7154a19c00e1c2464e5f93a1567d8ca5ed72.zip |
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.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
0 files changed, 0 insertions, 0 deletions