I feel outraged -
Steven Schveighoffer
schveiguy at yahoo.com
Thu Oct 15 04:23:13 PDT 2009
On Thu, 15 Oct 2009 07:15:45 -0400, Justin Johansson
<procode at adam.com.after-dot-com-add-dot-au> wrote:
> - that the .sizeof a delegate is 8 bytes (on a 32-bit machine).
>
> AFAIK, stack pushes are still more expensive than a pointer dereference
> in contemporary
> CPU architectures.
How do you propose to fix it? I think it is the minimal approach. You
need 4 bytes for the function pointer, and 4 bytes for the instance data.
-Steve
More information about the Digitalmars-d
mailing list