[ https://issues.apache.org/jira/browse/AVRO-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fokko Driesprong updated AVRO-1928: ----------------------------------- Fix Version/s: 1.9.2 > 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.10.0 > Reporter: Shalabh Chaturvedi > Assignee: Michael A. Smith > Priority: Minor > Fix For: 1.10.0, 1.9.2 > > > 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 (v8.3.4#803005)