Nice, I have wanted to do this for so long. I have a real world schema that
went from 583 generated unions to 16. Compile time for the TUs that include
the header have decreased by 50%.
Shaved 4.3MB and 7498 symbols off the (debug) shared library.
No negative side-effects in my use cases, tested on MacOS and Linux.

On Mon, Aug 12, 2024, 9:44 AM Hagen Weiße (Jira) <j...@apache.org> wrote:

> Hagen Weiße created AVRO-4033:
> ---------------------------------
>
>              Summary: Remove redundant union classes generated by
> avrogencpp
>                  Key: AVRO-4033
>                  URL: https://issues.apache.org/jira/browse/AVRO-4033
>              Project: Apache Avro
>           Issue Type: Improvement
>           Components: c++
>             Reporter: Hagen Weiße
>
>
> TODO
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.20.10#820010)
>

Reply via email to