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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd1a17edc1ccb2d6 X-Google-Attributes: gid103376,public From: Vance Christiaanse Subject: Re: Aggregate assignment problem with gnat under irix Date: 1996/06/02 Message-ID: <31B19FD4.144A@ix.netcom.com>#1/1 X-Deja-AN: 158081507 references: <4orssa$1ou@polo.iquest.com> content-type: text/plain; charset=us-ascii organization: Cintech Consulting x-netcom-date: Sun Jun 02 11:05:46 AM PDT 1996 mime-version: 1.0 reply-to: cintech@ix.netcom.com newsgroups: comp.lang.ada x-mailer: Mozilla 3.0b3 (Macintosh; I; PPC) Date: 1996-06-02T11:05:46-07:00 List-Id: David C. Hoos, Sr. wrote (regarding a question from Ullar Kask): > The solution is to use the pragma Storage_Size () > inside the task declaration. This may be the most elegant solution if you have lots of memory, but you have to ask yourself whether it's worth dedicating 40 Kbytes to hold zeros just so you can do one aggregate assignment. _If_ memory is a scarce resource, the loops in Ullar Kask's original code are a better solution. The nested loops _may_ actually execute faster, as an extra bonus. Vance Vance Christiaanse Cintech Consulting Syracuse, NY cintech@ix.netcom.com