https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c7
--- Comment #7 from Vincent Untz 2012-02-16 08:46:43 UTC ---
Duncan, after digging in the code, I have a few questions:
- zypp_refresh_cache() seems to be quite slow, even if force is set to false.
It's unclear to me why it's slow, since if there's no need to refresh anything
on libzypp side, things shouldn't be slow (at least, it's not slow with
zypper).
- it's unclear when to call zypp_refresh_cache(). It makes sense that it's
called on installing packages, but we call it also in
backend_find_packages_thread(), while it's not called in
backend_resolve_thread(). (I first added it there, and that's when I found it's
slow)
- I wonder if the change you did in cf65ba285d546e4bbe981d364b0b111fc142bc89
should also be applied to zypp_get_packages_by_file(). Which interestingly
isn't used at all (?).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.