diff options
author | Dominik Stadler <centic@apache.org> | 2020-05-16 13:06:07 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2020-05-16 13:06:07 +0000 |
commit | 3cad9e685173bd33e13bd2407f0d8f6cfe0c5522 (patch) | |
tree | 5d0e97314f1457559b6a609ccc72d4be3106ff1e /test-data/poifs | |
parent | ff919eb0e4b25a7ba9a97ad6c8fdc64a381a96b0 (diff) | |
download | poi-3cad9e685173bd33e13bd2407f0d8f6cfe0c5522.tar.gz poi-3cad9e685173bd33e13bd2407f0d8f6cfe0c5522.zip |
Bug 64322: Optimize performance of reading ole2 files
Remember channel-size to no re-read it for every read-access,
but reset it if we extend the size of the file
profiling indicates Channel.size() sometimes has similar runtime
overhead as position() or read()!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test-data/poifs')
-rw-r--r-- | test-data/poifs/64322.ole2 | bin | 0 -> 3867136 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test-data/poifs/64322.ole2 b/test-data/poifs/64322.ole2 Binary files differnew file mode 100644 index 0000000000..abd421124f --- /dev/null +++ b/test-data/poifs/64322.ole2 |