Skip to content

Conversation

@kortschak
Copy link
Contributor

This is a minor allocation optimisation to reduce allocs for variable-free activations as it avoids the map allocations needed for the parameter to interpreter.NewActivation and for the returned *mapActivation from that function.

Please take a look.

@TristonianJones
Copy link
Collaborator

/gcbrun

@TristonianJones TristonianJones merged commit a8e5866 into google:master Mar 20, 2022
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.

2 participants