diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-07-04 06:20:21 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-07-04 06:20:21 (EDT) |
commit | e4e01bfbdecc17cab0d4b0c383bd91a3f43d4c3e (patch) | |
tree | ad5b3ce333585200f1bc9bb7347386266a8c1b12 /TODO | |
parent | 35242ef0a438664930cdcfb3789da8395aa50f8f (diff) |
TODO: Replace sed arrays with eval arrays
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ + * Try replacing `sed` "arrays" with `eval` "arrays" in `install_find_pkgs()` + and `install_get_pkgs()`, using `tr` to sanitize package names (as in + opkbuild). Benchmark. This essentially replaces one `sed` command per + package (in `install_get_pkgs()`) with two `tr` commands (one per function; + no need to convert case as in opkbuild), which should reduce the algorithmic + complexity of installations from O(*n*) (where *n* is the number of packages + in the archive) to something closer to O(1). * Add interactive frontend for installers: - Clean up `install_system()` and `installer-pc` output + Maybe write everything to an installation log file in `${root}/var/log/` |