Closed dizcza closed 4 years ago
That's perfect. And it is a help. Thank you!
Having read more about lru_cache
, I came to the conclusion that it might be not a good idea to use lru_cache
for large objects. Because it leaks the memory. See here and here. So if spectral_connectivity is an intermediate step for someone, he/she will be in trouble.
I also found joblib as an alternative.
Just for you to know.
As you asked, Not sure how much it helps though.