Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1439

Binary Number Parser needs refactoring

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • 2.0.0
    • Back End
    • None

      The BinaryNumberParser and parsers that inherit from them parses all data as a BigInteger, regardless of the number of bits required, and then converts that down to whatever type is actually used. Instead, these parsers should use the appropriate function in the IO layer to extract data. Not only should this greatly simplify the binary parsers, removing the big integers should give a performance increase and decrease allocations.

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: