News for hackers. Stuff that matters.
Re:Benchmarking C++ Allocators by ahh on Monday April 27, 2020 @07:13PM (#23001289)
LTO I will grant you. I don't think you need to meaningfully inline the body of delete to get sized-delete to work effectively. You do want to statically link your sized operator delete body though, obviously. As of the last time I tried this, trying to inline the actual body was difficult to make effective, though.

(parent: read username :))

Re:Benchmarking C++ Allocators by jlebar on Monday April 27, 2020 @07:43PM (#23001578)
Hi, Andrew. :)

Agree, I shouldn't have been loose wrt the distinction between inlining and LTO. I think I also ran that experiment with inlining sized-deletes and came to the same (surprising, to me) conclusion.