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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:6982:: with SMTP id o2mr10635822qtq.143.1570117407783; Thu, 03 Oct 2019 08:43:27 -0700 (PDT) X-Received: by 2002:a9d:7cc9:: with SMTP id r9mr6946463otn.178.1570117407433; Thu, 03 Oct 2019 08:43:27 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!o24no2908704qtl.0!news-out.google.com!q23ni486qtl.1!nntp.google.com!o24no2908694qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 3 Oct 2019 08:43:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=208.114.128.87; posting-account=MRPdDAoAAADUJmZVjnYaoafXFMadSeY1 NNTP-Posting-Host: 208.114.128.87 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <28aacf0a-a720-40f1-bec6-69cd62425b0c@googlegroups.com> Subject: Re: ANN: Simple components for Ada v.4.42 From: Olivier Henley Injection-Date: Thu, 03 Oct 2019 15:43:27 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57240 Date: 2019-10-03T08:43:26-07:00 List-Id: On your simple components documentation page we can read: "A stack pool consists of contiguous segments allocated dynamically as nece= ssary. The discriminants control the stack segments allocation policy. Init= ial_Size determines the initial default size of a newly allocated segment. = If this size is less than the size of the object being allocated the defaul= t size is set to the object size multiplied to Items_Number." Given this: Arena : aliased Stack_Storage.Pool (200, 512); -- Pool to keep JSON object= =20 ... Data : constant JSON_Value :=3D Parse (Input'Access, Arena'Access); -- Pars= e the file >From that, correct me if I am wrong, if I throw a json document (Input) big= ger than 200*512, the stack pool will grow dynamically to accomodate? =20