You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "stefanvodita (via GitHub)" <gi...@apache.org> on 2023/12/14 09:04:12 UTC
[I] Find and replace uses of unbounded array growth with `growInRange` [lucene]
stefanvodita opened a new issue, #12941:
URL: https://github.com/apache/lucene/issues/12941
### Description
#12844 introduced upper bounds to array growth to avoid overallocation in cases where we can determine a bound.
This task is to go through uses of the grow API, identify other cases where we know the upper bound, and replace with `growInRange`.
--
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-unsubscribe@lucene.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Find and replace uses of unbounded array growth with `growInRange` [lucene]
Posted by "stefanvodita (via GitHub)" <gi...@apache.org>.
stefanvodita closed issue #12941: Find and replace uses of unbounded array growth with `growInRange`
URL: https://github.com/apache/lucene/issues/12941
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Find and replace uses of unbounded array growth with `growInRange` [lucene]
Posted by "stefanvodita (via GitHub)" <gi...@apache.org>.
stefanvodita commented on issue #12941:
URL: https://github.com/apache/lucene/issues/12941#issuecomment-1856044036
I went through most of the calls to grow int arrays. There aren't a lot of places where there's an obvious way to improve, but I opened #12947 for the couple cases I spotted.
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org