Skip to content

Add code gen go generate machinery for zero allocation and high performance - #1274

Open
JayJamieson wants to merge 1 commit into
apache:mainfrom
JayJamieson:feat/code-gen-tooling
Open

Add code gen go generate machinery for zero allocation and high performance#1274
JayJamieson wants to merge 1 commit into
apache:mainfrom
JayJamieson:feat/code-gen-tooling

Conversation

@JayJamieson

@JayJamieson JayJamieson commented Sep 2, 2026

Copy link
Copy Markdown

Rationale for this change

Reduce allocations and performance in hot loops and a suggestion in issue #44.

What changes are included in this PR?

New go module arrgen that is opt-in.

  • arrgen/cmd used to generate code from tagged structs

Are these changes tested?

Yes, equivalence tests and performance/allocation oriented

Are there any user-facing changes?

Not really, module is opt-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant