Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.unix-wizards Subject: Re: Wierd code Message-ID: <6160@utzoo.UUCP> Date: Thu, 21-Nov-85 12:57:44 EST Article-I.D.: utzoo.6160 Posted: Thu Nov 21 12:57:44 1985 Date-Received: Thu, 21-Nov-85 12:57:44 EST References: <2390@brl-tgr.ARPA> <6103@utzoo.UUCP>, <380@zaphod.UUCP> Organization: U of Toronto Zoology Lines: 22 > We have had some experience with a P695 (MUFOM) linker: > ... > 2) It is very inefficient, and not particularly the programs fault. > ... Point (2) arises because the standard itself is > inefficient. For example, to produce a namelist (i.e., 'nm(1)'), a > program has to read and examine the *entire file* - 40% of the file can > be skipped over, 3 to 100 bytes at a time... > These examples of course could be fixed up, of course, by conventionally > putting this information near the front of the file in comments. > *However*, it is only a convention and will not work since it is not > standard. That doesn't follow. A P695 linker ought to be able to handle the full standard, but that does *not* imply that it must be equally (in)efficient for all possible inputs. There is nothing wrong with saying "if you want it to run fast, observe the following conventions and restrictions...". (I agree that it would be nice if said conventions were part of the standard, which would greatly increase the chances that randomly-chosen P695 software would observe them, but it's not vital.) -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry