From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Please list all the Ada libraries you know
Date: Wed, 06 Mar 2013 07:15:56 +0100
Date: 2013-03-06T07:15:56+01:00 [thread overview]
Message-ID: <kh6ms7$jl9$1@dont-email.me> (raw)
In-Reply-To: <cd72c22c-a401-4aa9-959e-4b437313b3be@googlegroups.com>
Le 04/03/2013 21:43, Adam Beneschan a �crit :
> Well, no, you don't "need" one. Once you know what directory you're
> looking in, it's not all that difficult to look for any file whose
> name matches what you're looking for without regard to letter case.
>
Sure. But that means doing a full directory search any time you refer to
a unit (just to check if by chance there is another file with the same
name and different casing) => a lot of disk access, and considering the
ratio of disk speed to memory speed nowadays, this is likely to have a
very sensible effect on speed for a very minor (IMHO) nuisance.
The other possible solution is to have a mapping from unit names to file
names. This is what Object-Ada does (AFAIK), and roughly what you get
with pragma Source_File_Name.
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2013-03-06 6:15 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-03 16:42 Please list all the Ada libraries you know ferrariv65
2013-03-03 17:13 ` Dmitry A. Kazakov
2013-03-03 17:29 ` J-P. Rosen
2013-03-03 19:18 ` Jacob Sparre Andersen
2013-03-04 1:02 ` Shark8
2013-03-04 1:23 ` Yannick Duchêne (Hibou57)
2013-03-04 3:32 ` Shark8
2013-03-04 6:32 ` J-P. Rosen
2013-03-04 20:43 ` Adam Beneschan
2013-03-04 21:09 ` gautier_niouzes
2013-03-04 22:57 ` Shark8
2013-03-04 21:13 ` Ludovic Brenta
2013-03-06 6:15 ` J-P. Rosen [this message]
2013-03-06 7:15 ` Simon Wright
2013-03-06 15:09 ` Yannick Duchêne (Hibou57)
2013-03-06 16:03 ` Simon Wright
2013-03-06 17:36 ` Simon Wright
2013-03-06 17:08 ` Adam Beneschan
2013-03-06 19:01 ` Niklas Holsti
2013-03-06 19:34 ` Adam Beneschan
2013-03-06 19:56 ` [OT] "sensible" in English (was: Please list all the Ada libraries you know) Ludovic Brenta
2013-03-06 20:33 ` [OT] "sensible" in English Niklas Holsti
2013-03-07 7:04 ` Geoff
2013-03-07 7:47 ` Jeffrey Carter
2013-03-07 10:23 ` Georg Bauhaus
2013-03-11 16:04 ` [OT] "sensible" in English (was: Please list all the Ada libraries you know) Ada novice
2013-03-06 20:15 ` Please list all the Ada libraries you know Niklas Holsti
2013-03-07 2:41 ` Randy Brukardt
2013-03-07 6:56 ` Geoff
2013-03-07 7:20 ` Simon Wright
2013-03-06 21:01 ` J-P. Rosen
2013-03-06 21:44 ` Adam Beneschan
2013-03-04 8:12 ` Simon Wright
2013-03-04 20:29 ` Shark8
2013-03-06 0:28 ` Jerry
2013-03-07 21:42 ` mockturtle
2013-03-08 9:02 ` Björn Persson
2013-03-07 22:02 ` slos
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox