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:ad4:4e4f:0:b0:63c:fbf9:b5d0 with SMTP id eb15-20020ad44e4f000000b0063cfbf9b5d0mr2188qvb.9.1690233506722; Mon, 24 Jul 2023 14:18:26 -0700 (PDT) X-Received: by 2002:a05:6808:13d3:b0:3a3:e17e:d2ea with SMTP id d19-20020a05680813d300b003a3e17ed2eamr21465699oiw.8.1690233506251; Mon, 24 Jul 2023 14:18:26 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!news.mixmin.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, 24 Jul 2023 14:18:25 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:2e90:8100:82d:f5ad:d273:1b8; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1210:2e90:8100:82d:f5ad:d273:1b8 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: Gautier write-only address Injection-Date: Mon, 24 Jul 2023 21:18:26 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:65447 List-Id: > So, any resources on how to write Ada programs that take advantage of memoization? 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. You find with HAC ( https://hacadacompiler.sourceforge.io/ ) a set of solutions (search "memoiz*" or "cache"), mostly compiling with the HAC subset.