From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.16.69 with SMTP id o5mr3224027ica.17.1407942299720; Wed, 13 Aug 2014 08:04:59 -0700 (PDT) X-Received: by 10.50.254.1 with SMTP id ae1mr165798igd.2.1407942299634; Wed, 13 Aug 2014 08:04:59 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h18no19582563igc.0!news-out.google.com!px9ni588igc.0!nntp.google.com!h18no19582557igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 13 Aug 2014 08:04:59 -0700 (PDT) In-Reply-To: <2g7jja99fq2x$.5crvfujapxfi$.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: <4dba71e0-30c9-4e16-9edb-4e8b43acc2ab@googlegroups.com> <5c104779-8f67-44f2-96be-5ad2f627df2c@googlegroups.com> <15e09ab5-804e-4070-9ad2-46dc18d17505@googlegroups.com> <2g7jja99fq2x$.5crvfujapxfi$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: A simple question about the "new" allocator From: Adam Beneschan Injection-Date: Wed, 13 Aug 2014 15:04:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:21718 Date: 2014-08-13T08:04:59-07:00 List-Id: On Wednesday, August 13, 2014 12:36:43 AM UTC-7, Dmitry A. Kazakov wrote: > > This isn't really relevant to the real world, since hopefully nobody would > > write My_Storage_Pool like that. > > Why? "Proxy pools" are quite useful. Sorry, I meant specifically allocating a block of storage on the heap, reserving a large chunk of memory, *and* forgetting to deallocate it at the end. I hope nobody would write My_Storage_Pool like that. My fault, I didn't express myself clearly. -- Adam