Is this a bug?

R. Kym Horsell kym at bingvaxu.cc.binghamton.edu
Fri Sep 14 02:25:59 AEST 1990


In article <404594 at fiction> Daniel_Roedding at fiction.ms.sub.org writes:
\\\
>BTW: Passing structures per value?? Have a stack size > 1 Meg?? :-)
\\\

Why not? I seem to remember quite a lot of graphics work that's
using the idea (bitblt?).

Passing struct stuff around on the stack isn't bad per se -- you just
have to balance the size of such stuff vs the number of indirect
refs you save by having it local.

-Kym Horsell



More information about the Comp.lang.c mailing list