FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

MAINT: Simplify string arena growth strategy (#29885) by charris · Pull Request #29950 · numpy/numpy · GitHub

/ numpy Public

MAINT: Simplify string arena growth strategy (#29885) - #29950

Merged
charris merged 1 commit into
numpy:maintenance/2.3.xfrom
charris:backport-29885
Oct 14, 2025
Merged

charris merged 1 commit into
numpy:maintenance/2.3.xfrom
charris:backport-29885

Conversation

charris commented Oct 14, 2025

Copy link
Copy Markdown
Member

Backport of #29885.

Not sure if there is any downsides to this, but I think this is much simpler and pretty much identical.
Plus, I don't quite like that the 1.25 factor could be large, although I admit it seems very unlikely (maybe impossible) to actually trigger a problem there.

EDIT: As a note, I have a similar function that caps overallocation and increments in "neat" values (which double as a minimum overallocation amount). I somewhat assumed that doesn't matter much, but we could definitely do either or both here as well.

Not sure if there is any downsides to this, but I think this is much
simpler and pretty much identical.
Plus, I don't quite like that the 1.25 factor could be large, although
I admit it seems very unlikely (maybe impossible) to actually trigger
a problem there.

Signed-off-by: Sebastian Berg <sebastianb@nvidia.com>
charris added this to the 2.3.4 release milestone Oct 14, 2025
charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Oct 14, 2025
charris merged commit 7583bed into numpy:maintenance/2.3.x Oct 14, 2025
74 of 75 checks passed
charris deleted the backport-29885 branch October 14, 2025 17:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL