comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@my-deja.com
Subject: Re: Optimization Question
Date: Mon, 22 Jan 2001 20:22:43 GMT
Date: 2001-01-22T20:22:43+00:00	[thread overview]
Message-ID: <94i4q8$65e$1@nnrp1.deja.com> (raw)
In-Reply-To: 3A6C8432.665A730C@mail.com

In article <3A6C8432.665A730C@mail.com>,
  "M. Kotiaho" <mylastname@mail.com> wrote:
> As has been pointed out elsewhere, you can use Streams to read "big
chunks"
> at a time.  As you pointed out, you don't want to read 17 GB into
memory.

That's actually a moot point, as the GNAT runtime on Linux/i386 seems to
have as much problems handling the file as most C programs. It
appears I'm going to have to run it through a pipe . . .

> You also might want to buffer your output, rather than outputting
> the
> strings as soon as they are located.

My biggest problem with this is that it was a nice simple program until
buffering started coming in. I guess if I can get it significatly faster
than GNU strings, I may as well finish up the details and release it . .
.

--
David Starner - dstarner98@aasaa.ofe.org

--
David Starner - dvdeug@my-dejanews.com, dstarner98@aasaa.ofe.org,
dvdeug@hotmail.com
GURPS: http://w


Sent via Deja.com
http://www.deja.com/



  reply	other threads:[~2001-01-22 20:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-22  0:05 Optimization Question dvdeug
2001-01-22  1:57 ` Robert Dewar
2001-01-22  3:22   ` dvdeug
2001-01-22  4:05     ` Robert Dewar
2001-01-22  4:06     ` Robert Dewar
2001-01-22 19:04     ` M. Kotiaho
2001-01-22 20:22       ` dvdeug [this message]
2001-01-22 15:24   ` Ted Dennison
2001-01-22 16:12     ` Robert Dewar
2001-01-22 16:48       ` Ted Dennison
2001-01-22 16:15     ` Robert Dewar
2001-01-22 15:26   ` Ted Dennison
2001-01-22 16:17     ` Robert Dewar
2001-01-22 16:59       ` Ted Dennison
2001-01-22 22:01 ` Keith Thompson
2001-01-22 22:52   ` dvdeug
2001-01-23  6:46     ` Keith Thompson
     [not found] ` <94ld65$1hs$1@nnrp1.deja.com>
     [not found]   ` <864ryodb1q.fsf@acm.org>
     [not found]     ` <3A6F663E.C84B94D8@acm.org>
2001-01-26 16:30       ` Optimization Question -- Follow up on using the stream read (and write) procedures directly Jeff Creem
2001-01-26 21:46         ` Florian Weimer
2001-01-27 19:14           ` Jeff Creem
2001-01-28  0:26             ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox