Source
- URL: https://x.com/MoveZig4/status/1917463363300610136
- Author: Kyle (@MoveZig4)
- Posted: 2025-04-30 06:17:45
Branch
1/ @MoveZig4
@rfleury
This isn’t such a strong argument considering there’s a “leak” with the regular call to new. To my untrained eye under clang-19 the generated assembly for unique_ptr is a bit smaller/slimmer, with less stack usage - https://godbolt.org/z/sxejEsbe4 - can’t turn on -O anything sadly