Login | Register
My pages Projects Community openCollabNet

Discussions > dev > MboxParser read buffer patch

eyebrowse
Discussion topic

Back to topic list

MboxParser read buffer patch

Reply

Author davidsheldon
Full name David Sheldon
Date 2004-09-18 17:02:26 PDT
Message I have implemented buffering in the MboxParser as RandomAccessFile
appears not to have any buffering. On the initial scan of mbox files,
this appears to be about 15-20 times faster (on my tests of approx 20MB
mbox files).

Attached is a patch for the src/java directory. It includes an interface
for the features of RandomAccessFile that we use in MboxParser, and a
simple implementation as before, and the new buffered implementation, so
that comparison tests can be made.

David

I have reported this as an issue too:
http://eyebrowse.tig​ris.org/issues/show_​bug.cgi?id=428


--
     "So, I'm going to hit this guy with my Taylor expansion..."
              -- Dr. Suli, Numeric Computation Lecture.
Attachments

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

MboxParser read buffer patch davidsheldon David Sheldon 2004-09-18 17:02:26 PDT
     Re: MboxParser read buffer patch Andreas Guenther <aguenther at collab dot net> Andreas Guenther <aguenther at collab dot net> 2004-10-01 11:25:25 PDT
         Re: MboxParser read buffer patch David Sheldon <dave at earth dot li> David Sheldon <dave at earth dot li> 2004-10-01 16:58:42 PDT
Messages per page: