home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!cmcl2!adm!news
- From: lee@cpu.us.dynix.com (Lee Crites)
- Newsgroups: comp.lang.pascal
- Subject: Re: Performance questions
- Message-ID: <34980@adm.brl.mil>
- Date: 12 Jan 93 17:39:26 GMT
- Sender: news@adm.brl.mil
- Lines: 23
-
- >
- > 1) I have seen often in 'C programs big functions separated in their
- > own .C file, to make their own separate .OBJ file. If I were to
- > do this in PASCAL, implementing one function per .TPU, would there
- > be any performance lags _at run time_?
- >
-
- You made an important point "_at run time_" here. Sinc the compiler takes
- care of putting everything into a nice neat little package (the .EXE), the
- users would see no performance change between each function or procedure
- in a seperate .TPU, or all in one big program. YOU, on the other hand,
- would see one. Trying to develop a program with the dozen or so units
- that we use here at Computer Mavericks is enough of a pain; trying it with
- a hundred or more might just prove impossible. I have no idea if there is
- a limit on the number of items that you can list in the Uses clause, but
- that might also be a limiting factor.
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- lee@us.dynix.com | If it ain't broke yet,
- | let me have a shot at it....
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
-