On Tue, 18 Sep 2001, Christian Kurz wrote: > On 01-09-18 Joey Hess wrote: > > It'd be nice if someone would look at optimizing it sometime; the > > behavior I see with strace is absurd, and could easily be done with no > > syscalls, at least, by just reading the whole trustdb into memory. > > I know that the Werner revamped the whole keyring code about 1 or two > weeks ago. I just tried the --list-keys with my private and the debian > keyring specified in the options file and I didn't took more then 5 > minutes for me. (AMD K6-200). So I don't think if anyone would really > want to optimize the code more, he should look at the current cvs code.
As well as reading the docs, where it is said that one must reinsert all keys in the trustdb to take advantage of a new caching algorithm... I just import all the Debian keyring into a work keyring, all at once. It takes no more than 10 minutes in my k6-200. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh