From 4acbc5576fb42bf6f97202811c92a7cfe9900076 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 27 Feb 2023 18:51:21 +0000 Subject: [PATCH] JAL-2349 TODO consider caching contactRanges from getContactRange to improve efficiency --- src/jalview/datamodel/ContactListImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/datamodel/ContactListImpl.java b/src/jalview/datamodel/ContactListImpl.java index beb557f..8e806e4 100644 --- a/src/jalview/datamodel/ContactListImpl.java +++ b/src/jalview/datamodel/ContactListImpl.java @@ -41,6 +41,7 @@ public class ContactListImpl implements ContactListI @Override public ContactRange getRangeFor(int from_column, int to_column) { + // TODO: consider caching ContactRange for a particular call ? if (clist instanceof ContactListI) { // clist may implement getRangeFor in a more efficient way, so use theirs -- 1.7.10.2