[
https://issues.apache.org/jira/browse/DAFFODIL-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-2921.
--------------------------------------
Resolution: Fixed
Fixed in commit 67eef7e042e2da50cdd4e663c05eddc34219a580
> Default CLI to MappedByteBuffer when parsing files instead of a
> FileInputStream
> -------------------------------------------------------------------------------
>
> Key: DAFFODIL-2921
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2921
> Project: Daffodil
> Issue Type: Improvement
> Components: CLI, Performance
> Affects Versions: 3.8.0
> Reporter: Steve Lawrence
> Priority: Major
> Fix For: 3.9.0
>
>
> The ByteBufferInputSource is a bit faster than the BucketingInputSource so
> when parsing files we should mmap them to a ByteBuffer and use the faster
> InputSource. Note only does would this take advantage of
> ByteBufferInputSource performance, it would also take advantage of
> optimizations of mmap-ing files, which should be more performant than a
> FileInputStream.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)