Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-722

Unnecessary Trailer and Header object allocation for every Message instance

    Details

      Description

      In quickfix.Message, the field initialisers for 'header' and 'trailer' each new up an object.

      Generated Message classes then replace these. This creates unnecessary work for the GC.

      I see no reason that subclasses need to re-assign the trailer.

      The Header can vary with each FIX version, so perhaps the API could be modified such that the header is created by a protected method which is overridden in generated subclasses.

        Attachments

          Activity

            People

            • Assignee:
              Zano Wojciech Zankowski
              Reporter:
              drewnoakes Drew Noakes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: