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

FieldMap's "getGroup()", "replaceGroup()", and possibly others... should start with 0 (not 1)

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      The first index for anything in the IT world is "0", not "1". Most certainly any programmer in this world expects the index "0" to be the first one.
      An implementation must add 1 to each index, and the FIX engine then decrements it (will not kill the CPU but it is at least some work that could be avoided).

      My solution would be to deprecate the methods and have new replacing methods (remove the deprecated methods and rename the new ones in a later version).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pantolomin John
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: