From: James Procter Date: Mon, 27 Feb 2023 18:51:21 +0000 (+0000) Subject: JAL-2349 TODO consider caching contactRanges from getContactRange to improve efficiency X-Git-Tag: Release_2_11_3_0~15^2^2~21 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4acbc5576fb42bf6f97202811c92a7cfe9900076;p=jalview.git JAL-2349 TODO consider caching contactRanges from getContactRange to improve efficiency --- 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