From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:7902:: with SMTP id u2mr31428881qkc.205.1607967785923; Mon, 14 Dec 2020 09:43:05 -0800 (PST) X-Received: by 2002:a37:b5c6:: with SMTP id e189mr34108475qkf.483.1607967785695; Mon, 14 Dec 2020 09:43:05 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 14 Dec 2020 09:43:05 -0800 (PST) In-Reply-To: <867dpzizll.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1206:4564:fe50:589b:d029:1ab:ac7d; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1206:4564:fe50:589b:d029:1ab:ac7d References: <9dab63e0-617f-43a3-a0a3-eac0ae049afcn@googlegroups.com> <867dpzizll.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Advent of Code From: Gautier Write-Only Address Injection-Date: Mon, 14 Dec 2020 17:43:05 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:60842 List-Id: On Wednesday, December 2, 2020 at 11:59:23 PM UTC+1, Stephen Leake wrote: > On these small files, can you really tell the difference in speed > between GNAT and HAC? or (insert other favorite editor, mine is Emacs) > and LEA? for me, everything is instantaneous. >From GNAT Studio I get a range of 1.5 sec (an i5 PC @2.9 GHz) to 9 sec (a lightweight laptop) for building aoc_2020_12.adb (almost a benchmark for easy puzzles ;-) ). On the same source, I run hac -v2 aoc_2020_12.adb: Compilation finished in 0.000335500 seconds. Part 1: Manhattan distance of the ship to (0,0): 1631 (1631.0) Part 2: Manhattan distance of the ship to (0,0): 58606 (58606.0) VM interpreter done after 0.008894500 seconds. So, for this kind of puzzle, it makes a difference (correct solution to part 1 was sent at 00:11:01). But agreed, it's quite rare. Especially on today's puzzle, I didn't even consider using HAC...