Message249407
How is (1) different from:
@lru_cache(maxsize=1000)
def foo_long(self, arg1...)
As for computing it at runtime: if you need to compute it, you can compute it and *then* define the decorator wrapped function. |
|
Date |
User |
Action |
Args |
2015-08-31 15:54:08 | r.david.murray | set | recipients:
+ r.david.murray, Marek Otahal |
2015-08-31 15:54:08 | r.david.murray | set | messageid: <1441036448.13.0.738859823164.issue24969@psf.upfronthosting.co.za> |
2015-08-31 15:54:08 | r.david.murray | link | issue24969 messages |
2015-08-31 15:54:08 | r.david.murray | create | |
|