From abe59c4cc3867eddf706af098e5bd502ad2015ce Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Jan 2021 02:30:58 -0500 Subject: TODO: Already tried replacing sed with eval arrays In commit 7f51f0e82f6f808f01f515a8db80fb28be1bac74. --- diff --git a/TODO b/TODO index c16778b..fb11652 100644 --- a/TODO +++ b/TODO @@ -1,10 +1,3 @@ - * 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/` -- cgit v0.9.1