Re: more cap_mkdb speedup

2011-07-21 Thread Nicholas Marriott
Looks good and works for me, ok nicm. On Sun, Jul 10, 2011 at 09:42:28AM -0400, Todd C. Miller wrote: > This time for terminfo. These are the same basic changes I've made > to getcap.c but applied to getinfo.c. > > Before: > $ /usr/bin/time cap_mkdb -i -f obj/terminfo obj/terminfo.src >

more cap_mkdb speedup

2011-07-10 Thread Todd C. Miller
This time for terminfo. These are the same basic changes I've made to getcap.c but applied to getinfo.c. Before: $ /usr/bin/time cap_mkdb -i -f obj/terminfo obj/terminfo.src 6.57 real 5.51 user 0.93 sys After: $ /usr/bin/time cap_mkdb -i -f obj/terminfo obj/terminfo.src