29 Mar
2008
29 Mar
'08
7:39 p.m.
On Sat, Mar 29, 2008 at 2:36 PM, K. Piche <kpiche@rogers.com> wrote:
Interesting. I was in the process of reading the whole file into a buffer and having parse_descfile parse that. Oh well...
That is quite similar to Xavier's patch that keeps an internal buffer in archive_fgets() in order to reduce calls into libarchive, which seems to cut the time by half to parse the entire community DB (.12 vs .07 seconds locally on my desktop machine). No matter how you cut it, not writing a temp file definitely saves time. -Dan