Another malloc question

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Oct 25 06:19:55 AEST 1989


In article <428 at cpsolv.UUCP> rhg at cpsolv.uucp (Richard H. Gumpertz) writes:
>The current standard seems to prohibit malloc from special-casing requests
>for less than size X and returning only even alignment.

Right.

>Is this overkill in the language of the standard?

No, "simplicity" would be a better word.

Nobody thought there would be sufficient gain in the real world
(as opposed to your hypothetical 32-byte aligned machine) to be
worth the added complexity.



More information about the Comp.std.c mailing list