zeroshade commented on PR #461: URL: https://github.com/apache/arrow-go/pull/461#issuecomment-3155667311
In this particular case the `indexBuffer` is on the stack not on the heap. So there's no extra allocation happening that you're avoiding here. For the hell of it though, you can try running a benchmark comparison between this and main to confirm whether or not this actually reduces allocations or not. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org