You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/07/01 06:55:45 UTC

[jira] Closed: (CODEC-71) Base64.isArrayByteBase64() method is inefficient for large byte arrays

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

Henri Yandell closed CODEC-71.
------------------------------

    Resolution: Fixed

> Base64.isArrayByteBase64() method is inefficient for large byte arrays
> ----------------------------------------------------------------------
>
>                 Key: CODEC-71
>                 URL: https://issues.apache.org/jira/browse/CODEC-71
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 1.4
>
>         Attachments: Base64.patch
>
>
> Base64.isArrayByteBase64() method is inefficient for large byte arrays because it uses a temporary copy of the data to eliminate whitespace.
> This is very wasteful for large arrays, and is completely unnecessary.
> The code should just add a check for whitespace as part of the main loop.
> Patch to follow

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