comp.lang.ada
 help / color / mirror / Atom feed
From: karlran1234@yahoo.com (Karl Ran)
Subject: Re: How to speed up stream & record handling?
Date: 22 Feb 2002 05:31:47 -0800
Date: 2002-02-22T13:31:49+00:00	[thread overview]
Message-ID: <e7ebd224.0202220531.3755e013@posting.google.com> (raw)
In-Reply-To: 8Rfd8.41459$Cu.776895529@newssvr14.news.prodigy.com

tmoran@acm.org wrote in message
news:<8Rfd8.41459$Cu.776895529@newssvr14.news.prodigy.com>...
>> Data_array'Read (and thus My_Record'Read) calls Unsigned_8'Read for
>> each array element individually.  Perhaps this burns a lot of CPU
> I suspect you're right.  I ran the program as given on a 750MHz Windows
> system and it took 7.7 seconds.  It runs in .13 seconds with some
> simple changes:

Same here!

So, whats the problem with the streams?
Was the streams-package not designed to handle high-bandwidth application?
Does the used compiler matters?

How do I avoid calling 'Unsigned_8'Read' 200 times per packet while still
using streams?

Thanks,
Karl



  reply	other threads:[~2002-02-22 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-21 12:37 How to speed up stream & record handling? Karl Ran
2002-02-21 14:17 ` Martin Dowie
2002-02-21 17:34 ` Jeffrey Carter
2002-02-21 20:25 ` Florian Weimer
2002-02-21 23:59   ` tmoran
2002-02-22 13:31     ` Karl Ran [this message]
2002-02-22 20:25       ` tmoran
2002-02-24  3:23 ` Nick Roberts
replies disabled

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