Last active
January 25, 2019 15:33
-
-
Save deque-blog/ecb43c18ba100e42afe0a39bc1c67f7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@functools.lru_cache(maxsize=YOUR_CACHE_SIZE) | |
def long_computation(arg1, arg2, arg3): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment