From: Pascal Obry <pascal@obry.org>
Subject: Re: Efficient Stream_IO
Date: 14 Apr 2004 21:54:15 +0200
Date: 2004-04-14T19:54:19+00:00 [thread overview]
Message-ID: <uhdvmgwt4.fsf@obry.org> (raw)
In-Reply-To: slrnc7njtv.oj.lutz@taranis.iks-jena.de
Lutz Donnerhacke <lutz@iks-jena.de> writes:
> And how will one convert from String to Stream_Element_Array?
With a loop if Stream_Element'Size /= Character'Size and with a simple
Unchecked_Conversion otherwise. The second solution is very fast and will
work in 99,9% (100%???) of the cases.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
next prev parent reply other threads:[~2004-04-14 19:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 8:38 Efficient Stream_IO Lutz Donnerhacke
2004-04-13 11:12 ` Stephen Leake
2004-04-13 11:32 ` Lutz Donnerhacke
2004-04-14 19:54 ` Pascal Obry [this message]
2004-04-15 8:13 ` Martin Dowie
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox