Skip to content

Use sized deallocation for MockSpan in linked_list_benchmark. - #1024

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_984209422
Draft

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_984209422

Conversation

@copybara-service

Copy link
Copy Markdown

Use sized deallocation for MockSpan in linked_list_benchmark.

Replace unsized delete on MockSpan with sized deallocation via MockSpan::Delete
(::operator delete(s, sizeof(MockSpan))) to eliminate unsized deallocation profiling
overhead and include for sized deallocation operator completeness.

Replace unsized delete on MockSpan with sized deallocation via MockSpan::Delete
(::operator delete(s, sizeof(MockSpan))) to eliminate unsized deallocation profiling
overhead and include <new> for sized deallocation operator completeness.

PiperOrigin-RevId: 984209422
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