C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Deliberate memory leak

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Sat, 12 Oct 2024 22:51:19 +0100
On Sat, Oct 12, 2024 at 7:02 PM Jeremy wrote:

>>
> > However if 'c' is only 120 milliseconds quicker to die than 'b',
>> then I won't bother with 'c', I'll just have 'a' and 'b'.
>
> I’m glad you brought this up. I am highly skeptical that cleanup
> would matter at all for a program’s exit performance - freeing is
> fast. But if you can provide evidence and rationale that this is a
> significant issue then it’s more worth taking the time to look at.


I started a thread 3 years ago on the wxWidgets forum about this
because my program was sometimes taking 5 - 10 seconds to close:

    https://forums.wxwidgets.org/viewtopic.php?f=27&t=48827

Received on 2024-10-12 21:51:28