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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.31.194.79 with SMTP id s76mr910126vkf.10.1473357836982; Thu, 08 Sep 2016 11:03:56 -0700 (PDT) X-Received: by 10.157.38.178 with SMTP id l47mr226672otb.13.1473357836943; Thu, 08 Sep 2016 11:03:56 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!m9no1808985qte.0!news-out.google.com!b4ni12980iti.0!nntp.google.com!i184no12666itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 8 Sep 2016 11:03:56 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.37; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 149.32.224.37 References: <397dd8cb-2afc-43cd-972d-3b1a5a90cd5d@googlegroups.com> <877fao24da.fsf@mid.deneb.enyo.de> <0b79fce9-b898-4a1c-91fb-ca41e87b4dd5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <08e0581a-30f1-4cc5-972c-2d6c539d9df6@googlegroups.com> Subject: Re: Can anyone help with GNAT.Perfect_Hash_Generators ? (Possible memory corruption) From: Anh Vo Injection-Date: Thu, 08 Sep 2016 18:03:56 +0000 Content-Type: text/plain; charset=UTF-8 X-Received-Bytes: 2091 X-Received-Body-CRC: 1171619030 Xref: news.eternal-september.org comp.lang.ada:31731 Date: 2016-09-08T11:03:56-07:00 List-Id: On Thursday, September 8, 2016 at 10:04:06 AM UTC-7, Simon Wright wrote: > Anh Vo writes: > > > Then, what would be the proper fix? > > To what? If you mean the apparent bug in GNAT.Perfect_Hash_Generators Yes. > then I have to say that's one of the more opaque pieces of Ada that I've > seen, not helped by being implemented over another piece of complex > software (GNAT.Table). Of course, it's implementing a complex algorithm. > > I suppose it was written before Ada.Containers. Of course, it is better alternative if Ada.Containers* have what GNAT.Perfect_Hash_Generators has.