commit:     578aa007d1a1517bc4f96910ea97464b4f4c1fe4
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 13:25:40 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 13:25:40 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=578aa007

TODO: add libq/tree item

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 TODO.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/TODO.md b/TODO.md
index ded7553..f6326b8 100644
--- a/TODO.md
+++ b/TODO.md
@@ -17,6 +17,12 @@
 - check timestamps in libq/tree for choosing which method to take:
        - ignore metadata when ebuild is modified
        - add some method to skip these checks and assume everything is right
+- add interface to retrieve a list/set of atoms from a tree
+  - pkg\_ctx for each found match, NULL otherwise
+  - more efficient than traversing the entire tree every time (scandir
+    or parsing Packages)
+  - cached, such that repeated matches for the same thing are served off
+    the cache (set), as frequently happens in dependency calculations
 
 # qmerge
 - dep resolver needs spanktastic love.

Reply via email to