From f6fe86a2203b518aa75bbe73e3eb2c1c6e5b20fe Mon Sep 17 00:00:00 2001 From: neingeist Date: Fri, 29 Aug 2014 21:25:42 +0200 Subject: [PATCH] add a decorator that caches function call results in a json file --- .idea/dictionaries/orange.xml | 1 + .idea/workspace.xml | 311 +++++++++++++++++++++++++++------- json_memoize.py | 78 +++++++++ 3 files changed, 325 insertions(+), 65 deletions(-) create mode 100644 json_memoize.py diff --git a/.idea/dictionaries/orange.xml b/.idea/dictionaries/orange.xml index 5bc621f..f7bad05 100644 --- a/.idea/dictionaries/orange.xml +++ b/.idea/dictionaries/orange.xml @@ -3,6 +3,7 @@ anki matplotlib + memoize \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6a2c036..cc49a16 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,8 @@ - - - + - @@ -31,13 +28,12 @@ - - + + - - - - + + + @@ -57,6 +53,12 @@ @@ -101,7 +103,7 @@ - + + + + + - + - - + + + + + + + + + + + + + + + + - -