From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: How to speed up stream & record handling?
Date: Thu, 21 Feb 2002 21:25:57 +0100
Date: 2002-02-21T20:25:01+00:00 [thread overview]
Message-ID: <87it8qeg4q.fsf@deneb.enyo.de> (raw)
In-Reply-To: e7ebd224.0202210437.1c7d0fbf@posting.google.com
karlran1234@yahoo.com (Karl Ran) writes:
> type Data_array is array( 1 .. 198 ) of Unsigned_8;
> type My_Record is
> record
> A : Data_array; -- 200 bytes
> BC : B_And_C; -- 2 bytes
> end record;
> My_Record'Read (Stream, Item);
Data_array'Read (and thus My_Record'Read) calls Unsigned_8'Read for
each array element individually. Perhaps this burns a lot of CPU
cycles.
next prev parent reply other threads:[~2002-02-21 20:25 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 [this message]
2002-02-21 23:59 ` tmoran
2002-02-22 13:31 ` Karl Ran
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