TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: DARIN MCBRIDE
from: ANTHONY TIBBS
date: 1998-01-22 18:51:00
subject: free(question)

TC>> Well, turned out I found that using a static variable 
TC>> was the answer in one
TC>> case.  However, that static variable will take up 
TC>> "permanent" space of sorts.
TC>> It's not much, but it still is enough to bug me.
DM> 4 bytes?  Should never be a big deal.  I've used thousands of bytes of
DM> then it is a good thing.  Especially the first one.  :-)
DM>    - it makes your executable noticeably faster
DM>    - it makes your code cleaner,
Darin...
I don't know about you, or anybody else in this echo, but personally, I try 
to stay right away from dynamic memory allocation altogether.  If you are 
allocating/freeing many small and large blocks of memory continuously, 
eventually you may get to the point where there are NO blocks large enough to 
accomodate your request.
--- PointEd 2.0
---------------
* Origin: The Tibbs' Point - Ottawa, Ontario, Canada (1:163/215.38)

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