nlyan opened a new pull request #868: URL: https://github.com/apache/avro/pull/868
Avro currently constructs map and vector elements on the stack, decodes in to them, and then *copies* the resulting values in maps and vectors. This results in a lot of unnecessary memory allocation when decoding. In my tests I was able to get a tight loop of Avro decode operations (reusing target objects) to me malloc free with these tweaks, and close the performance gap with Protocol Buffers 3. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
