[
https://issues.apache.org/jira/browse/AVRO-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853373#comment-16853373
]
Hudson commented on AVRO-1928:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #670 (See
[https://builds.apache.org/job/AvroJava/670/])
AVRO-1928: Simplify Python float/double encoding (#528) (fokko:
[https://github.com/apache/avro/commit/b990042604b8bf83db3a137de0f54d726c1af9f0])
* (edit) lang/py3/avro/io.py
* (edit) lang/py/src/avro/io.py
> Python double/float encoding implementation should use built-in struct
> support for little endian
> ------------------------------------------------------------------------------------------------
>
> Key: AVRO-1928
> URL: https://issues.apache.org/jira/browse/AVRO-1928
> Project: Apache Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.8.1, 1.8.2, 1.8.3
> Reporter: Shalabh Chaturvedi
> Priority: Minor
>
> The encoding and decoding of double and float types in Python uses
> unnecessary bit operations and packing/unpacking. Python's {{struct}} module
> supports little-endian encoding and could be used directly, instead of using
> the big-endian and then bit-fiddling to reverse the endianness.
> This could have a big impact of encoding/decoding speed of large buffers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)