You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Oleg Kalnichevski (JIRA)" <se...@james.apache.org> on 2008/07/07 23:44:32 UTC

[jira] Issue Comment Edited: (MIME4J-5) Mime4j takes really long to parse big messages

    [ https://issues.apache.org/jira/browse/MIME4J-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611366#action_12611366 ] 

olegk edited comment on MIME4J-5 at 7/7/08 2:44 PM:
----------------------------------------------------------------

I spent a better part of today working on a more efficient header parsing code just to find out it cannot handle recursive parsing of base64 and quote-printable encoded messages (those that need to wrapped with a decoding input stream). Damn! 

How important is the ability to recursively parse encoded messages? If it is, it looks like we will have to live with one byte read header parsing.

Oleg     

      was (Author: olegk):
    I spend a better part of today working on a more efficient header parsing code just to find out it cannot handle recursive parsing of base64 and quote-printable encoded messages (those that need to wrapped with a decoding input stream). Damn! 

How important is the ability to recursively parse encoded messages? If it is, it looks like we will have to live with one byte read header parsing.

Oleg     
  
> Mime4j takes really long to parse big messages
> ----------------------------------------------
>
>                 Key: MIME4J-5
>                 URL: https://issues.apache.org/jira/browse/MIME4J-5
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Norman Maurer
>            Assignee: Robert Burrell Donkin
>             Fix For: 0.4
>
>         Attachments: mime4j-2.patch, mime4j.patch
>
>
> From ml:
> Mime4j has general demonstrable performance problems:
> http://buni.org/bugzilla/show_bug.cgi?id=137
> http://blog.buni.org/blog/mbarker/Meldware/2007/01/27/Look-out-Its-behind-you
> I'd suggest a general code review for the "byte at a time + buffered input stream" anti-pattern
> and general refactoring to do things in blocks where possible.
> -Andy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org