TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Wankadia
from: Frank Adam
date: 1996-11-14 05:52:00
subject: A few questions

G'Day Paul,
 
-=> Quoting Paul Wankadia to Frank Adam <=-
 PW> On 29 Oct 96, Frank Adam wrote to Paul Wankadia --
 
 PW> Yeah.  Well, in TINY model, I don't need the full 64Kb.  How do I
 PW> release some of it?  I'm not talking about removing excess code/data --
 PW> I mean I want to deallocate memory that is not being used for
 PW> ANYTHING!?!? 
Now I'm getting a bit confused, memory isn't allocated for NOTHING !? 
If you don't have any unnecessary stuff in there what else do you want to 
reduce ?  
If the code is tight you've done the job there, if the data is used as
efficiently as possible there is nothing else you can do. 
If you're using static data arrays, change them to pointers and allocate 
and free them as you go,but don't forget the alloc functions carry quite a 
bit of overhead with them speed-wise.
If you really want to go-whoa on size reduction you may have to dig up 
some assembly knowledge and replace certain Borland functions to reduce 
the number of libs included.       
But in that case you might as well write the whole damn thing in assy.     
                               


  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

---
* Origin: Melbourne PC User Group BBS (3:632/309)
SEEN-BY: 633/267 270
@PATH: 632/309 107 360 50/99 635/728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.