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

Benoit Tellier closed MIME4J-306.
---------------------------------
    Resolution: Fixed

> MimeUtil::unfold should group char appends
> ------------------------------------------
>
>                 Key: MIME4J-306
>                 URL: https://issues.apache.org/jira/browse/MIME4J-306
>             Project: James Mime4j
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.8.5
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 0.8.6
>
>         Attachments: after_unfold.png, before_unfold.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Calling repeatedly append requires ensuring the capacity amongst other.
> Appends to the string builder can be done for all previous chars when a line 
> delimiter is encountered, thus reducing the cost of the operation.
> Gain: 66%
> Attached are the flame graphs:
>  - Before
>  - After (Combined with MIME4J-304 and MIME4J-305)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to