- move bindings into bindings directory
[platform/upstream/libsolv.git] / src / DISCUSS
1
2 Solver algorithms:
3 ------------------
4
5 - the solver allows arch changes from/to noarch without complaining.
6   good or bad?
7
8 - vendow changes are allowed from unknown to known. libzypp doesn't
9   allow that. Feature?
10
11 - should prune_best_version_arch consider the arch or the vendor this
12   is about an installed package?
13
14 - repo priorities should influence the order in which package rules
15   are fulfilled.
16
17 - prune_best_version_arch has a n^2 loop when looking at obsoletes.
18   Should we create an obsoletes index to speed that up?
19
20
21
22 Code cleanup:
23 -------------
24
25 - move whatprovides/whatprovidesdata from pool to solver?
26   good: can implement installed(), though I don't know if we need
27         it.
28   bad: need to allocate solver if we just want to look up a provides.
29        can't re-use whatprovides for multiple solver runs with different
30        solvers.
31
32 - implement unified idarray in pool, so that repos don't have to
33   come with their own idarrays? Would need memory for hash, but
34   unification would be a nice thing. Would also fix solver memory
35   leak with learned rules. Needs some hard numbers abour memory usage.
36
37 - make bitmap macros inline functions?
38
39 - rename ID Macros to ID_, e.g. ARCH_NOARCH to ID_ARCH_NOARCH?
40
41 - support different streams than FILE in repo_ functions? Is it
42   enough that glibc supports FILE overloading, see the undocumented
43   fopencookie()?
44