From da45b6d9e53b9ea2c8dd817fbec21b1586007296 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 16:02:42 -0400 Subject: TODO: Eliminate metadata caching It complicates the code and hides metadata changes (unless timestamp checking gets added), all for little performance benefit. --- (limited to 'TODO') diff --git a/TODO b/TODO index c5cfee1..62239b3 100644 --- a/TODO +++ b/TODO @@ -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' ]` -- cgit v0.9.1