commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CODEC-71) Base64.isArrayByteBase64() method is inefficient for large byte arrays
Date Sat, 21 Jun 2008 14:12:45 GMT

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

Sebb updated CODEC-71:
----------------------

    Attachment: Base64.patch

> 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
>         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.


Mime
View raw message