Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Raise the max size poolable by ArrayPool#55621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
stephentoub merged 1 commit intodotnet:mainfromstephentoub:arraypoollength
Jul 14, 2021

Conversation

@stephentoub
Copy link
Member

We previously set an arbitrary cut-off of 1MB max array size. That was before we would trim arrays in response to memory pressure. This now raises the limit as high as we can while maintaining the current power-of-two-based scheme.

Contributes to#12800
cc:@jkotas,@Maoni0

@ghost
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly onearea label.

@davidfowl
Copy link
Member

I have so much reactionary code to change 😂

@stephentoubstephentoubforce-pushed thearraypoollength branch 2 times, most recently from4421144 to457144dCompareJuly 14, 2021 03:54
We previously set an arbitrary cut-off of 2MB max array size. That was before we would trim arrays in response to memory pressure.  This now raises the limit as high as we can while maintaining the current power-of-two-based scheme.
@stephentoub
Copy link
MemberAuthor

I have so much reactionary code to change

Just to confirm, not code that will break because of this, but code where you were working around the lack of this and now don't have to, yes?

@stephentoubstephentoub merged commitfa779e8 intodotnet:mainJul 14, 2021
@stephentoubstephentoub deleted the arraypoollength branchJuly 14, 2021 15:33
@davidfowl
Copy link
Member

Just to confirm, not code that will break because of this, but code where you were working around the lack of this and now don't have to, yes?

Correct.

stephentoub reacted with thumbs up emoji

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@jkotasjkotasjkotas approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@stephentoub@davidfowl@jkotas

[8]ページ先頭

©2009-2025 Movatter.jp