Closed Yash-5 closed 4 years ago
Thank you for your suggestion, I will be integrating this and testing locally to assess the performance difference. Feel free to test it from your side using the branch feature/lru_cache. If a significant difference is present I will merge the changes to master
There is a todo in the code
# TODO: store window between calls if possible
An easy way to do this is to wrap
create_window
with thefunctools.lru_cache
wrapper.https://docs.python.org/3/library/functools.html