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.224.13.136 with SMTP id c8mr15360647qaa.0.1376859947967; Sun, 18 Aug 2013 14:05:47 -0700 (PDT) X-Received: by 10.49.70.138 with SMTP id m10mr6430qeu.9.1376859947915; Sun, 18 Aug 2013 14:05:47 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.bbs-scene.org!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!f7no2797295qan.0!news-out.google.com!he10ni2338qab.0!nntp.google.com!fx3no2941907qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 18 Aug 2013 14:05:47 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1679ec49-424b-43bd-8f35-a5f69e658112@googlegroups.com> Subject: Hash Type Size From: sbelmont700@gmail.com Injection-Date: Sun, 18 Aug 2013 21:05:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:16900 Date: 2013-08-18T14:05:47-07:00 List-Id: Hi, What is the size of Ada.Containers.Hash_Type intended to be? The LRM advis= es that "Hash_Type'Modulus should be at least 2**32", but this makes hashin= g a value on a 64-bit machine particularly unpleasant, since my implementat= ion (MinGW-64) still defines it as 32-bit. Is the intent that Hash_Type sh= ould be the native size of the machine (and the implementation is wrong/adv= ice is vague), or that it actually should be 32-bit if possible? -sb