Mail Archives: djgpp/1999/09/16/13:14:58
Sunil V. (sunilv AT accord-soft DOT com) wrote:
: This is a multi-part message in MIME format.
: --------------6BA90FC783E18B9E6832DC28
: Content-Type: text/plain; charset=us-ascii
: Content-Transfer-Encoding: 7bit
: Hello Everybody,
: A piece of my code looks as follows:
: AllocateHugeBlock()
: -----
: -----
: -----
: FreeHugeBlock()
: "AllocateHugeBlock" allocates 500 blocks each of size 62000 bytes. And
: "FreeHugeBlock" frees the same. These two functions are taking most of
: my execution time. What I want to know is, whether there is any
: workaround for doing the same in a much less time?
Perhaps allocate one block of size 500*62000, and then setting up the
pointers to point at the right place in the single block?
Right,
MartinS
- Raw text -