Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RuntimeHelpers.IsReferenceOrContainsReferences #494

Merged
merged 6 commits into from
Nov 18, 2024

Conversation

timcassell
Copy link
Owner

@timcassell timcassell commented Nov 16, 2024

…to skip clearing types without references.
Also optimized async Linq lookup tables by implementing array pooling directly instead of using TempCollectionBuilder.
Fixed a potential issue in CountBy and AggregateBy with renting shared int[] if other code returns to the pool without clearing.

Resolves #462.

@timcassell timcassell added this to the v3.3.0 milestone Nov 16, 2024
@timcassell timcassell self-assigned this Nov 16, 2024
@timcassell timcassell linked an issue Nov 16, 2024 that may be closed by this pull request
…with arrays not being cleared when the algorithm requires it.

Removed null check from Dispose and use the collections properly.
@timcassell timcassell merged commit c260a8d into develop Nov 18, 2024
27 checks passed
@timcassell timcassell deleted the clear-references branch November 18, 2024 00:47
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.

Use RuntimeHelpers.IsReferenceOrContainsReferences
1 participant