[ 
https://issues.apache.org/jira/browse/MIME4J-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefano Bagnara updated MIME4J-71:
----------------------------------

    Attachment: Base64OutputStream2.java

Alternative implementation of Base64OutputStream.

This is based on Base64 + Base64OutputStream from the commons-codec svn trunk 
(Emmanuel Bourg suggested this) and refactored to be optimized for our usage 
(one single class, removed a couple of bytearray copies).

I run my old dummy performance check against the 3 implementation 
(Base64Encoder, Base64OutputStream from MyFaces, this Base64OutputStream2) and 
here are the results:

Base64Encoder: 2678ms
Base64OutputStream: 3160ms
Base64OutputStream2: 1954ms

very promising, I'd say.


> Manage credits for Base64OutputStream inclusion
> -----------------------------------------------
>
>                 Key: MIME4J-71
>                 URL: https://issues.apache.org/jira/browse/MIME4J-71
>             Project: Mime4j
>          Issue Type: Task
>    Affects Versions: 0.4
>            Reporter: Stefano Bagnara
>            Priority: Blocker
>             Fix For: 0.5
>
>         Attachments: Base64OutputStream2.java
>
>
> I want to add the fact that I'm investigating about the IPR for the 
> Base64OutputStream I introduced in the codebase some weeks ago.
> http://markmail.org/message/g6cqks56o6byu4fx
> http://markmail.org/message/fv7njent2jg2whdz
> http://markmail.org/message/cgf5ugtwcrr4fwcd
> The fact is that the package I used to get the Base64OutputStream has a 
> NOTICE including:
> -------------
> Portions of this software were originally based on the following:
> - software copyright (c) 2000-2006, Oracle Corp, <http://www.oracle.com/>. 
> and are licensed to the Apache Software Foundation under the "Software Grant 
> and Corporate Contribution License Agreement"
> -------------
> I didn't recognized this when I took the code at first, my bad! 
> Credits have to be added to the main NOTICE.txt (used in main distributions) 
> and a solution have to be found for the NOTICE included in jars (currently 
> automatically added by maven with apache-jar-resource-bundle:1.4  that does 
> not support this scenario).

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to