Hello trumpetinc, On Apr 23, 2010, at 7:29 PM, trumpetinc wrote:
> Giovanni - if your source PDFs are small enough, you might want to try this, > just to get a feel for the impact that IO blocking is having on your results > (read entire PDF into byte[] and use PdfReader(byte[])) > Trying it right now ... > The StringBuffer could definitely be replaced with a StringBuilder, and it > could be re-used instead of re-allocating for each call to nextTokeen() > This is what I applied yesterday with the patch I posted. It includes both changes in PRTokeniser: StringBuilder + reusing the same instances ... the improvement is somewhere around 6.2% faster for my test case. I want to try this one you suggest above ... and then I will post the new numbers plus the cumulative patch I have ... Best regards, Giovanni ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/