diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2022-08-31 22:48:45 +0200 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2022-09-01 00:15:16 +0200 |
commit | 518188288e629b2a6912843f8c0dcc51960a22da (patch) | |
tree | 70ab759be0f25ffdd29a134bf60ab3e4691035c4 /git-arr | |
parent | 15547b279664602d524f20630fdb35f5424b0eba (diff) | |
download | git-arr-fork-518188288e629b2a6912843f8c0dcc51960a22da.zip |
Cache some (possibly) expensive function calls
This patch memoizes some of the functions to help speed up execution.
The speedup is quite variable, but ~30% is normal when generating a
medium size repository, and the output is byte-for-byte identical.
Diffstat (limited to 'git-arr')
-rwxr-xr-x | git-arr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ bottle.app.push(app) def with_utils(f): """Decorator to add the utilities to the return value. - + Used to wrap functions that return dictionaries which are then passed to templates. """ |