diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 16:02:42 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 16:02:42 (EDT) |
commit | da45b6d9e53b9ea2c8dd817fbec21b1586007296 (patch) | |
tree | 2335ce64bae47ad2042ed0ddb255ec210bf9f574 | |
parent | fdeb7ce342f666accc5219001e5bb3c54f75a18c (diff) |
TODO: Eliminate metadata caching
It complicates the code and hides metadata changes (unless timestamp
checking gets added), all for little performance benefit.
-rw-r--r-- | TODO | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -4,17 +4,7 @@ Tasks General Cleanup --------------- - * Rewrite cache file handling. - - Make a new library module with the following functions: - * `ob_init_cache file` - * `ob_read_cache` - * `ob_set_cache_var name value` - - Use `ob_set_cache_var` in `_ob_set_{source,binary}_parameter`. - - Remove code to read cache file from `ob_parse_package_metadata`. - - Remove code to write cache file from `ob_parse_package_metadata`. - - TODO: Should `ob_{init,read}_cache` ever be called automatically? - * If not, `ob_parse_package_metadata -c FILE` could be: - - `ob_init_cache_file FILE; ob_read_cache || ob_parse_package_metadata` + * Eliminate metadata caching. * General code auditing and cleanup: - Protect against command operands beginning with "-", e.g.: * `[ "x${foo}" = 'xbar' ]` instead of `[ "${foo}" = 'bar' ]` |