[Pyrex] Re: Is this example correct?

Greg Ewing greg at cosc.canterbury.ac.nz
Mon May 12 02:31:05 CEST 2003


"Edward C. Jones" <edcjones at erols.com>:

> Thanks. I had a feeling that it was rediculous to malloc small
> structs.

There's nothing wrong with mallocing small structs, unless
speed is *really* an issue, or you have such huge numbers
of them that the space overhead becomes a problem. But
wait until you actually have those problems before
worrying about them!

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list