Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-13300

Add sourceCatalog method for adding multiple empty records

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Story Points:
      2

      Description

      Currently, to add multiple new empty records to a sourceCatalog requires multiple calls to catalog.addNew(), which can result in the catalog being non-contiguous in memory. It would be much better to have an catalog.addNew(size_t N) method that creates N new elements at once, all contiguous.

      Whether this is best done via an overload of addNew or a new method, I leave to the implementer.

        Attachments

          Issue Links

            Activity

            Parejkoj John Parejko created issue -
            tjenness Tim Jenness made changes -
            Field Original Value New Value
            Remote Link This issue links to "Page (Confluence)" [ 31064 ]
            tjenness Tim Jenness made changes -
            Link This issue duplicates DM-19461 [ DM-19461 ]
            tjenness Tim Jenness made changes -
            Resolution Done [ 10000 ]
            Status To Do [ 10001 ] Invalid [ 11005 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Parejkoj John Parejko
              Watchers:
              Eli Rykoff, Jim Bosch, John Parejko, John Swinbank, Paul Price, Russell Owen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.