Skip to content

Moved the check for large allocations to the start of IntrusiveAllocator::deallocate(..) to avoid searching the memoryBlocks containers. Added size == 0 and ptr == nullptr checks to allocation and deallocation to avoid doing any more in this null cases. - #1734

Merged
robertosfield merged 1 commit into
masterfrom
IntrusiveAllocationLargeAllocationRefinement
Aug 17, 2026

Conversation

@robertosfield

Copy link
Copy Markdown
Collaborator

No description provided.

…tor::deallocate(..) to avoid searching the memoryBlocks containers.

Added size == 0 and ptr == nullptr checks to allocation and deallocation to avoid doing any more in this null cases.
@robertosfield
robertosfield merged commit 8402a67 into master Aug 17, 2026
10 checks passed
@robertosfield
robertosfield deleted the IntrusiveAllocationLargeAllocationRefinement branch August 17, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant