C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Deliberate memory leak

From: Jeremy Rifkin <rifkin.jer_at_[hidden]>
Date: Sun, 13 Oct 2024 15:34:05 -0500
> 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

I don’t see anything about resource freeing being the cause here. This
sounds like other factors.

Jeremy


On Sat, Oct 12, 2024 at 16:51 Frederick Virchanza Gotham via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> 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
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2024-10-13 20:34:18