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,386228a37afe967f
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2003-07-18 14:22:15 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!freenix!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Computer Language Shootout
Date: 18 Jul 2003 23:22:10 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References:
<1ec946d1.0307150715.4ba69f85@posting.google.com> <3F149243.80304@attbi.com>
<3F15930C.2070907@attbi.com>
NNTP-Posting-Host: avelizy-103-1-4-126.w80-11.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news-reader2.wanadoo.fr 1058563334 19221 80.11.102.126 (18 Jul 2003
21:22:14 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 18 Jul 2003 21:22:14 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95
Xref: archiver1.google.com comp.lang.ada:40486
Date: 2003-07-18T21:22:14+00:00
List-Id:
Robert A Duff writes:
> "Jean-Pierre Rosen" writes:
>
> > This one reads a line with no length limit:
> >
> > function Get_Line return String is
[...]
>
> Too bad this was not included in Text_IO itself. It would save
> beginners a lot of trouble. Sigh.
But this approach can use a lot of stack space and become very slow.
Returning an unconstraint object on the stack has a cost.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595