wjp719 commented on PR #786: URL: https://github.com/apache/lucene/pull/786#issuecomment-1088618967
> Can we instead add a new method to `ArrayUtil`, with a different name than `grow`, that doesn't copy data? > > I don't think we should add a boolean parameter to grow that gives it radically different behavior. @rmuir Hi, I add ArrayUtil#growSizeOnly method that only grow size and not copy array data, please review again, thanks. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org