You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/04/05 12:34:41 UTC
[jira] [Created] (OAK-6039) TarFiles shouldn't need to regularly
create a new list of TarReader instances
Francesco Mari created OAK-6039:
-----------------------------------
Summary: TarFiles shouldn't need to regularly create a new list of TarReader instances
Key: OAK-6039
URL: https://issues.apache.org/jira/browse/OAK-6039
Project: Jackrabbit Oak
Issue Type: Improvement
Components: segment-tar
Affects Versions: 1.8
Reporter: Francesco Mari
Assignee: Francesco Mari
The current implementation of {{TarFiles#newWriter}} always create a new list of {{TarReader}} instances every time a {{TarWriter}} is frozen into a new {{TarReader}}. This is a leftover from the previous implementation.
The new {{TarReader}} can simply be prepended to the list, without forcing the creation of a new list. A more suitable implementation for this list should be used as well.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)