[ 
https://issues.apache.org/jira/browse/DERBY-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879806#action_12879806
 ] 

Kristian Waagan commented on DERBY-4686:
----------------------------------------

Hi Yun,

It was Knut Anders who suggested the buffer size optimization, but in any case, 
you're welcome :)
If possible, we also try to keep lines shorter than 80 characters, but that's a 
detail.

I committed patch DERBY-4686-2.diff to trunk with revision 955634.


Thanks,

> SQLBinary.writeBlob is inefficient, reading one byte at a time from the 
> source BLOB
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-4686
>                 URL: https://issues.apache.org/jira/browse/DERBY-4686
>             Project: Derby
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 10.7.0.0
>            Reporter: Kristian Waagan
>            Assignee: Yun Lee
>             Fix For: 10.7.0.0
>
>         Attachments: DERBY-4686-1.diff, DERBY-4686-1.diff, DERBY-4686-2.diff, 
> DERBY-4686.diff
>
>
> SQLBinary.writeBlob is inefficient, since it is only reading one byte at the 
> time from the source BLOB.
> It would be better if a transfer buffer was used to facilitate the write.

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