On Thu, 2007-02-22 at 17:13 -0600, [EMAIL PROTECTED] wrote: > I ran into this yesterday when writing my find_packages_for_my_machine > script. If you use anything resembling a regexp, performance is crap. > Use a provides search that just uses the builtin "like" function in > sqlite, and it runs fine. I'm talking 5 minutes vs 4 seconds for my > case. > > Looking through the code, I thought it was funny that you repeated the > select() so many times rather than just caching (in a string or array) > and running regexp over the cache.
not anymore. if you're bored, take a check out of cvs head and try out a search. -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
