Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3979

improve efficiency of PDBEntry operations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.11.2, 2.11.4
    • Fix Version/s: 2.12
    • Component/s: Datamodel
    • Labels:

      Description

      Jalview's Sequence class holds lists of PDBEntry objects as a Vector. The list is populated when sequences with PDB crossrefs are imported, and can get extremely large, making operations on the list (searching by ID, updating existing entries with additional data) scale poorly.

      Propose:
      1. Move to a hash container (LinkedHashMap).
      2. Review the need to have several PDBEntry objects with the same ID

      Test data:
      Stress test: retrieve AL123456 - this takes over an hour with Jalview 2.11.2.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: