home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!uniwa!uniwa!nfm
- From: gujn@uniwa.uwa.edu.au (Jeremy Nelson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: How to allocate memory nicely?
- Date: 5 Jan 1993 10:39:46 +0800
- Organization: The University of Western Australia
- Lines: 11
- Message-ID: <1iasdiINN754@uniwa.uwa.edu.au>
- NNTP-Posting-Host: uniwa.uwa.edu.au
-
- This is probably a simple question for the programmers, so reply by news
- or mail as you see fit...
-
- How should I allocate memory for short strings of, say, 15 characters or
- so without unnecessarily fragmenting the memory? Should I request 1k
- chunks and doll it out as necessary? And how small is too small?
-
- Help from the experienced would be appreciated. Thanks. (I'm talking
- C of course. :)
- --
- Jem. Jeremy Nelson. gujn@uniwa.uwa.edu.au :\ => :)
-