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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: How to get this space away? Date: Wed, 3 Jun 2015 09:28:36 +0200 Organization: cbb software GmbH Message-ID: References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: enOx0b+nfqkc2k+TNpOejg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:193457 Date: 2015-06-03T09:28:36+02:00 List-Id: On Tue, 2 Jun 2015 13:32:42 -0700 (PDT), Laurent wrote: > My little program is slowly generating something which looks like the > communication file I need. How long are the strings involved? Your code does a lot of shuffling strings here and there when strings are return values. GNAT wasn't very good at optimizations of this kind, last time I looked. That is increasingly inefficient with long strings. You could consider doing string formatting in-place. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de