From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:1a27:b0:404:eea2:dc37 with SMTP id f39-20020a05622a1a2700b00404eea2dc37mr3066qtb.2.1690346283389; Tue, 25 Jul 2023 21:38:03 -0700 (PDT) X-Received: by 2002:a05:6870:769c:b0:1bb:b8f0:5878 with SMTP id dx28-20020a056870769c00b001bbb8f05878mr1294802oab.5.1690346282925; Tue, 25 Jul 2023 21:38:02 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.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: Tue, 25 Jul 2023 21:38:02 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns NNTP-Posting-Host: 98.59.238.112 References: <1f6ad7f7-3bd3-4094-b037-eac7d352d68dn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: memoization in Ada? Hash ADT? From: Kenneth Wolcott Injection-Date: Wed, 26 Jul 2023 04:38:03 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:65448 List-Id: On Monday, July 24, 2023 at 2:18:28=E2=80=AFPM UTC-7, Gautier write-only ad= dress wrote: > > So, any resources on how to write Ada programs that take advantage of m= emoization? > Look here https://forum.ada-lang.io/ for discussions about Advent of Code= puzzles. Some solutions use (and need, for completing in a reasonable time= ) memoization.=20 > You find with HAC ( https://hacadacompiler.sourceforge.io/ ) a set of sol= utions (search "memoiz*" or "cache"), mostly compiling with the HAC subset. Thanks for the pointer to the forum. Regarding HAC, isn't that Windows-only? I'm on a Mac (M1 chip). I'll look= again at HAC. Ken