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

Scott Carey updated AVRO-668:
-----------------------------

    Attachment: AVRO-668.patch

Patch includes suggestion by Doug to use default implementations in Encoder for 
writeString(String) and writeString(CharSequence) and move logic out of 
GenericDatumWriter.

TestBlockIO2 still fails, but feedback on this variant would be useful 
regardless (or ideas on why these changes would cause such a failure).


Doug:
My hosts file has:
{noformat}
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost 
fe80::1%lo0     localhost
{noformat}

Which looks like a typical BSD/Mac hosts file.
I've got several interfaces in ifconfig; one of those might be causing 
confusion.

> Java: Streamline writing of Strings for Encoders and GenericDatumWriter
> -----------------------------------------------------------------------
>
>                 Key: AVRO-668
>                 URL: https://issues.apache.org/jira/browse/AVRO-668
>             Project: Avro
>          Issue Type: Improvement
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.4.1
>
>         Attachments: AVRO-668.patch, AVRO-668.patch
>
>
> We can streamline writing of strings to minimize object creation during 
> writes.
> We can avoid converting a String into Utf8 for Json output, and for Binary 
> output we can avoid a Utf8 (but still create a byte[]).

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