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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd63afa4dc364b7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-17 09:08:07 PST Newsgroups: comp.lang.ada Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!nntp.primenet.com!nntp.gblx.net!newspump.sol.net!nntp.msen.com!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Support for per allocation pool selection (was: Better support for garbage collection) Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Sat, 17 Mar 2001 17:06:30 GMT References: <98m938$2iod0$1@ID-25716.news.dfncis.de> <861ys03t2f.fsf@acm.org> <86bsr15wft.fsf@acm.org> <86itl8v8ps.fsf_-_@acm.org> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:5804 Date: 2001-03-17T17:06:30+00:00 List-Id: Laurent Guerby writes: > pragma Use_Pool_Object (T_Ptr, Pool_Object); > > then all allocations (via new) of type T_Ptr use the given Pool_Object > in the current scope (and until the next pragma), no new syntax then. I'd prefer new syntax for "new". But the pragma might be easier for some folks to swallow. > No other people have expressed interest so far. Do you think if I > write down a proposal, it would be considered? Yes, but I won't bet that it will actually happen. By the way, this idea was considered (and rejected) during the Ada 9X design. I never understood why Tucker didn't like it, and we had too much else to worry about at the time, so I never really got around to asking. - Bob