TIP: Click on subject to list as thread! ANSI
echo: delphi
to: STEVE BATSON
from: ERIC SCHREIBER
date: 1996-06-02 22:39:00
subject: Uses `unit`

-=> Steve Batson wrote with startling eloquence to Bob Dunnell <=- 
SB> My point was that you could make
SB> straight API calls or pull into your source only what you really
SB> needed and probably get it even tighter.  
While I've never tried this with Delphi, my past experience BP 7 agrees with 
what you're saying. I tried both a 'uses' clause with a unit that had a set 
of routines, and actually putting all the routines directly in my code and 
not using 'uses' - the latter resulted in a smaller exe, though exact figures 
escape me.
There was a time when it made sense to me to bum the code as much as 
possible, but with modern Windows programming, you've lost the battle of the 
bytes as soon as you start - might as well not sweat exe size anymore.
EEAS
eric@kobayashi.com
--- Blue Wave/DOS v2.21
---------------
* Origin: The Aircrash Bureau Chicago 312-278-1195 33.6 (1:115/327)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.