From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21aaebbd9205357c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.98.103 with SMTP id eh7mr3673166wib.3.1362550556854; Tue, 05 Mar 2013 22:15:56 -0800 (PST) Path: bp2ni75373wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.242.MISMATCH!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Please list all the Ada libraries you know Date: Wed, 06 Mar 2013 07:15:56 +0100 Organization: A noiseless patient Spider Message-ID: References: <69291c5f-ffce-4b48-a1c5-aa76f308082f@googlegroups.com> Mime-Version: 1.0 Injection-Date: Wed, 6 Mar 2013 06:14:31 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="2b3884a634d8f846e0712b4e3a92507a"; logging-data="20137"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/s0dPM6IWAirrcm+vDV1kF" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: Cancel-Lock: sha1:e0BWzgIsqQ8c44uNZBzwcUI0Gr8= X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-03-06T07:15:56+01:00 List-Id: 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