Why not create a fieldPool like cePool(CheckEntry) to reuse Fields #1291
Unanswered
liang09255
asked this question in
Q&A
Replies: 1 comment
-
Fields are used as value types passed on the stack, so there's no need for pooling. These (old) PRs have some context for how we landed on a stack-allocated union vs pooling a heap-allocated field: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see that when creating each field, a new Field object is created.
Why not create a fieldPool like cePool(CheckEntry) to reuse Fields
Beta Was this translation helpful? Give feedback.
All reactions