;; Cache previous results, so that they are not recomputed again,
;; if the results are already known. Note that this function accounts
;; for about 85% of the total execution time of biogrid-interaction-annotation,
;; so any caching at all is a win. In a test of 681 genes, there is a
;; cache hit 99 out of 100 times (that is, 100 times fewer calls to
;; do-find-protein-form) resulting in a 400x speedup for this function(!)
;; and a grand-total 9x speedup for biogrid-interaction-annotation.
;; Wow.
;; Cache previous results, so that they are not recomputed again, ;; if the results are already known. Note that this function accounts ;; for about 85% of the total execution time of
biogrid-interaction-annotation
, ;; so any caching at all is a win. In a test of 681 genes, there is a ;; cache hit 99 out of 100 times (that is, 100 times fewer calls to ;; do-find-protein-form) resulting in a 400x speedup for this function(!) ;; and a grand-total 9x speedup forbiogrid-interaction-annotation
. ;; Wow.