On Wednesday 10 of December 2008 10:44:40 Pavol Rusnak wrote:
Anicka Bernathova wrote:
If our users like it, we should probably rewrite it to C then :-(
Read https://bugzilla.novell.com/show_bug.cgi?id=435160
You will learn that rewrite to C would be of no use, because Python code immediately calls wrapped satsolver library which IS written in C. And most of time (if not all of it) is spent there ...
But now is possible, that anicka is right. I modified the search method of bin.py: def search(self, term): return [] so it didn't calls a satsolver, but the first run with dropped cache is still slow. $ time sl bash: sl: command not found real 0m1.546s user 0m0.196s sys 0m0.056s -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org