Mailinglist Archive: zypp-devel (75 mails)
| < Previous | Next > |
Re: [zypp-devel] zypper performance gone bad, bad, bad
- From: Michael Matz <matz@xxxxxxx>
- Date: Sat, 17 May 2008 18:03:42 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0805171757260.20583@xxxxxxxxxxxxx>
Hi,
On Sat, 17 May 2008, Stephan Kulow wrote:
I would guess so, yes, but right now zypper just simply hardcodes glob
matching. In the end it doesn't really matter as matching a string with
fnmatch(3) that doesn't contain glob chars is equivalent to string
matching.
Still not ideal, but at least no blocker anymore.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Sat, 17 May 2008, Stephan Kulow wrote:
What I don't understand is, why zypper addlock fate adds
type: package
match_type: glob
case_sensitive: on
solvable_name: fate
Shouldn't the match be exact unless I specify glob chars? Or is
this logic while reading?
I would guess so, yes, but right now zypper just simply hardcodes glob
matching. In the end it doesn't really matter as matching a string with
fnmatch(3) that doesn't contain glob chars is equivalent to string
matching.
So it's only 50% slower with 8 locks. That's an improvement against the
1700% with my old locks file.
Still not ideal, but at least no blocker anymore.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |