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

improve efficiency of PDBEntry operations

    XMLWordPrintable

    Details

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

      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:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: