-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-17586: [Go] String To Numeric cast functions #14015
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
datum := compute.NewDatum(arr) | ||
defer datum.Release() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See this pattern often. Not familiar with go arrow implementation. Just curious why we need to release
things explicitly. What release
does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The primary Arrow docs explain this: https://github.com/apache/arrow/tree/master/go#reference-counting
Essentially the objects utilize reference counting to know when it can eagerly release buffers and re-use objects / memory (particularly with custom Allocators)
Benchmark runs are scheduled for baseline = 5d0ed86 and contender = fea7cc3. fea7cc3 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Authored-by: Matt Topol <[email protected]> Signed-off-by: Matt Topol <[email protected]>
Authored-by: Matt Topol <[email protected]> Signed-off-by: Matt Topol <[email protected]>
No description provided.