Skip to content

MAINT: Simplify string arena growth strategy#29885

Merged
seberg merged 1 commit intonumpy:mainfrom
seberg:string-overalloc
Oct 14, 2025
Merged

MAINT: Simplify string arena growth strategy#29885
seberg merged 1 commit intonumpy:mainfrom
seberg:string-overalloc

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented Oct 6, 2025

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants