>- Allocations do not require a function call, just a few instructions
>(e.g. store pointer, adjust stack pointer etc.)

You could aslo use "alloca()" (which is a fine solution in Solaris and
is used in a lot of Solaris library code, specifically the bits written
by more experienced programmers)

>- The code size and complexity shrinks significantly (e.g. no |free()|
>required in most situations)

Same with alloca.


Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to