Mailinglist Archive: opensuse-bugs (14404 mails)

< Previous Next >
[Bug 435160] bash takes too long on "command not found"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 16 Oct 2008 08:31:54 -0600 (MDT)
  • Message-id: <20081016143154.B5126CC6B6@xxxxxxxxxxxxxxxxxxxxxx>

User matz@xxxxxxxxxx added comment

--- Comment #19 from Michael Matz <matz@xxxxxxxxxx> 2008-10-16 08:31:54 MDT ---
Thanks. The problem with using sat-solver for matching the filelist is that
it is targeted at queries resulting from interactive use (user searching for
something via a GUI). It wasn't designed for these kind of automatic queries,
especially searching in filelists isn't particularly fast (it needs to
construct each entry from a directory list and a basename just to run the
regexp on it).

We could optimize this a bit further as a special query type (where directory
and basename are given separately) but I wouldn't hold my breath. For the
time being I either would make this feature optional (and I think it's
basically a nice feature), or implement a cache just for the programs that
could be looked up faster.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >