hwse opened a new pull request, #3047: URL: https://github.com/apache/avro/pull/3047
This merge request should improve the code generated by avrogencpp for union types. The improvements are: ## Getter return a reference Previously the getters for a union branch returned a value: std::map<std::string, float > get_map() const; This lead to a complete copy of the map, which may be really expensive depending on the use case. In this merge request the getter return a reference instead, which allows the user to choose if a copy should be done. const std::map<std::string, float >& get_map() const; TODO: push and describe remaining improvements -- 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. To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org