summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorPatrick 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)
commitda45b6d9e53b9ea2c8dd817fbec21b1586007296 (patch)
tree2335ce64bae47ad2042ed0ddb255ec210bf9f574 /TODO
parentfdeb7ce342f666accc5219001e5bb3c54f75a18c (diff)
TODO: Eliminate metadata caching
It complicates the code and hides metadata changes (unless timestamp checking gets added), all for little performance benefit.
Diffstat (limited to 'TODO')
-rw-r--r--TODO12
1 files changed, 1 insertions, 11 deletions
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' ]`