Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2921

Default CLI to MappedByteBuffer when parsing files instead of a FileInputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.0
    • 3.9.0
    • CLI, Performance
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: