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.

Reply via email to