Mailinglist Archive: zypp-devel (56 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: [zypp-commit] r8127 - in /branches/tmp/ma/jump_sat/libzypp/zypp: ./ base/ parser/susetags/ pool/ sat/ sat/detail/
- From: Michael Matz <matz@xxxxxxx>
- Date: Wed, 19 Dec 2007 15:37:29 +0100 (CET)
- Message-id: <Pine.LNX.4.64.0712191526410.23011@xxxxxxxxxxxxx>
Hi,
On Wed, 19 Dec 2007, Stefan Hundhammer wrote:
That's not because the UI is too slow, but because the way the search is
implemented in libzypp is. sqlite isn't optimized for searching strings
in the database. This particular detail (the kind thingy) can really be
implemented via code instead of data.
Btw.:
% time ./dumpattr -bi downloading < test.attr > /dev/null
real 0m0.170s
user 0m0.164s
sys 0m0.004s
This happens to search for the string "downloading" (case insensitive) in
all textual attributes of the 10.3 DVD biarch Repository, and it's
compiled without optimization.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Wed, 19 Dec 2007, Stefan Hundhammer wrote:
Contrary to solving dependencies, the user interface doesn't need to
be optimized to the last nanosecond.
Says he who complains about searching being too slow...
That's not because the UI is too slow, but because the way the search is
implemented in libzypp is. sqlite isn't optimized for searching strings
in the database. This particular detail (the kind thingy) can really be
implemented via code instead of data.
Btw.:
% time ./dumpattr -bi downloading < test.attr > /dev/null
real 0m0.170s
user 0m0.164s
sys 0m0.004s
This happens to search for the string "downloading" (case insensitive) in
all textual attributes of the 10.3 DVD biarch Repository, and it's
compiled without optimization.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |