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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Fri, 11 May 2018 10:04:27 +0300 Organization: Tidorum Ltd Message-ID: References: <322f9b26-01de-4753-bb50-6ef2f3d993d8@googlegroups.com> <87a7th9pd1.fsf@nightsong.com> <87h8no1nli.fsf@nightsong.com> <874ljo1hvy.fsf@nightsong.com> <87vac4z2lh.fsf@nightsong.com> <87lgcszjdn.fsf@nightsong.com> <87sh6z1kkg.fsf@nightsong.com> <87k1sb1dt3.fsf@nightsong.com> <87h8nfyu40.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net Un5AhHvltP9CQI7+gE4ppA9wiLADh8ps12nXUmm0b6z5RN3kKY Cancel-Lock: sha1:os1Ild/jSFYY5TboLrTi72OxsmA= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <87h8nfyu40.fsf@nightsong.com> Xref: reader02.eternal-september.org comp.lang.ada:52243 Date: 2018-05-11T10:04:27+03:00 List-Id: On 18-05-11 02:21 , Paul Rubin wrote: > Niklas Holsti writes: >> The CBSG could perhaps be redesigned to isolate the DSL part into >> separate packages so that only those packages would need to be >> recompiled. > > It is already designed like that. The package containing those phrases > is the one that takes 1.5 minutes to recompile on the ARM. Recompiling > the rest of the packages would add even more time, though not that much > more since they are smaller. The package with the phrases is about 2 > KLOC or 100KB, and most of it is string constants, so I have no idea why > its compilation is that slow. Perhaps the compiler is being asked to optimise the code, which is probably useless for this package. Try it with very low optimisation level? -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .