Performance: Use System.arraycopy() instead of manually copying the bytes while 
reading the data
------------------------------------------------------------------------------------------------

                 Key: PIG-1696
                 URL: https://issues.apache.org/jira/browse/PIG-1696
             Project: Pig
          Issue Type: Improvement
            Reporter: Ashutosh Chauhan
            Priority: Minor


System.arraycopy() is said to be faster as compared to iterating over bytes and 
copying them over as it is implemented natively in JVM. Since every single byte 
read through PigStorage() will go through this code-path, this will have a 
performance impact.

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