-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace properties by properly cached ones that do not keep checking every time #59
Comments
this one has TTL support like the perl one 😄 https://wiki.python.org/moin/PythonDecoratorLibrary#Cached_Properties |
Yes. |
Also, Perl? :p |
wel I don't think we want ttl support? We could go for the easy option and use the lru_cache decorator |
not sure, but if we are going to add some more code we didn't write to vsc-base, why not use the one with most features? the python exmaples is not some random guys blog imho |
There is nothing wrong with code reuse, under the correct license, no? |
right, link had to be https://bugs.python.org/issue21145 (reached that from the blog's going forward section ) |
More decorators should be used. |
See
The text was updated successfully, but these errors were encountered: