You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Hagen Weiße (Jira)" <ji...@apache.org> on 2024/08/12 13:43:00 UTC

[jira] [Created] (AVRO-4033) Remove redundant union classes generated by avrogencpp

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)

Re: [jira] [Created] (AVRO-4033) Remove redundant union classes generated by avrogencpp

Posted by John Dickson <jm...@gmail.com>.
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) <ji...@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)
>