alamb commented on PR #12223: URL: https://github.com/apache/arrow-rs/pull/12223#issuecomment-7111195281
> > I am a little worried that some of this code could be being overfit to the benchmarks. I wonder if we have any sense of how much is general purpose or if there is any way to reuse these pattens somehow > > [@alamb](https://github.com/alamb) I'm not sure what you mean by this. If you mean the common pattern of taking data from a source array and appending it to an output array, I agree. Sorry -- I should have been more clear. What I was was worried about was if the patterns in this PR are very specific / only work well for the distribution of values that are found in the benchmarks, rather than being broadly applicable. That being said on second look I think it looks better > While working on the coalescer kernel, I noticed it would be a great fit if the take kernel accepted a src and dst instead of always creating its own buffers/arrays. Yes, in my mind that was in fact the key rationale for `coalesce` kernel in the first place (avoid the copying of intermediate arrays in the `take` and `filter` kernels) Thank you for pushing it along -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
