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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5117b1b6391a0e06 X-Google-Attributes: gid103376,public Path: g2news1.google.com!postnews2.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: A simple ADA puzzle (I haven't the answer) Date: 19 Jun 2004 04:17:53 -0700 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0406190317.27bca3a4@posting.google.com> References: <_Q%zc.7117$Wr.4869@newsread1.news.pas.earthlink.net> <5ad0dd8a.0406181007.775eae12@posting.google.com> <8EMAc.5698$w07.1296@newsread2.news.pas.earthlink.net> NNTP-Posting-Host: 83.27.34.93 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1087643873 16576 127.0.0.1 (19 Jun 2004 11:17:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 19 Jun 2004 11:17:53 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:1692 Date: 2004-06-19T04:17:53-07:00 List-Id: Jeffrey Carter wrote in message news:<8EMAc.5698$w07.1296@newsread2.news.pas.earthlink.net>... > Wojtek Narczynski wrote: > > > Please allow a small quiz: how much memory does an Unbounded_String > > instance take, for a string "a" (of lenght 1 char)? > > There are many responses to this. One is: it depends on the compiler. No > implementation is specified for Unbounded_String. > > (...) > Under the only compiler I can check - GNAT, 32 bit machine: 60 bytes, measured empirically. Maybe life is more comfortable without knowing certain facts, but I happened to already know this, and I can't help it by now. Regards, Wojtek