You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "btellier@apache.org" <bt...@apache.org> on 2021/08/27 02:26:07 UTC

Further performance improvements for MIME4J

Hello all,

I wish good vacations for those who had some :-)

This summer, I had been identifying areas of improvements for the MIME4J
parsing library, namely:

 - https://github.com/apache/james-mime4j/pull/50 MIME4J-304
DecoderUtil::decodeEncodedWords without REGEXP

 - https://github.com/apache/james-mime4j/pull/51 MIME4J-305
ContentUtil::decode can avoid using StringBuilder

 - https://github.com/apache/james-mime4j/pull/52 MIME4J-306
MimeUtil::unfold should group char appends

I can understand that I have been writing some hand-written parsing code
to achieve those goals, yet the output of this work had been tested
successfully with the Jazzer fuzzer.

As such and as the performance improvements are far from negligible, I
would like to run a 0.8.6 release to make them available.

By the way congratulation to all the DEVs, the fuzzing in Lenient mode
did not highlight any defect.

Regards,

Benoit TELLIER


Re: Further performance improvements for MIME4J

Posted by Eugen Stan <st...@gmail.com>.
That is good news Benoit, thank you for all your hard work !

Eugen

On 8/27/21 5:26 AM, btellier@apache.org wrote:
> Hello all,
> 
> I wish good vacations for those who had some :-)
> 
> This summer, I had been identifying areas of improvements for the MIME4J
> parsing library, namely:
> 
>   - https://github.com/apache/james-mime4j/pull/50 MIME4J-304
> DecoderUtil::decodeEncodedWords without REGEXP
> 
>   - https://github.com/apache/james-mime4j/pull/51 MIME4J-305
> ContentUtil::decode can avoid using StringBuilder
> 
>   - https://github.com/apache/james-mime4j/pull/52 MIME4J-306
> MimeUtil::unfold should group char appends
> 
> I can understand that I have been writing some hand-written parsing code
> to achieve those goals, yet the output of this work had been tested
> successfully with the Jazzer fuzzer.
> 
> As such and as the performance improvements are far from negligible, I
> would like to run a 0.8.6 release to make them available.
> 
> By the way congratulation to all the DEVs, the fuzzing in Lenient mode
> did not highlight any defect.
> 
> Regards,
> 
> Benoit TELLIER
>