metaspace2020 / sm-engine

Engine for metabolite annotation for imaging mass spectrometry
Apache License 2.0
7 stars 5 forks source link

Caching in isotope image handler #14

Closed lomereiter closed 8 years ago

lomereiter commented 8 years ago

Intensities and coordinates are currently re-fetched from the database for every isotopic image.

This PR introduces usage of functools32 module for LRU caching of the most expensive method calls to avoid doing double work.

intsco commented 8 years ago

Was merged earlier into rel-v0.5 branch