Re: __cdecl vs __stdcall



"Eugene Gershnik" <gershnik@xxxxxxxxxxx> wrote:
>
>OTOH if you have situations like
>
>foo(a,b,c);
>bar(a,b,c);
>
>the caller cannot reuse the stack and has to push twice.
>Whether you gain or loose depends on what you do in performance critical
>code.

However, no C compiler has ever generated code to take advantage of that
"feature", and I don't believe I have ever seen it even in assembly code.

So, instead of "on the other hand", I think I'd say "on the tip of the
other little fingernail".
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc
.



Relevant Pages

  • Re: Quicksort
    ... with a stack. ... there should be no significant gain in storage space ... similar), a compiler based around CPS (common in Scheme and other FPLS...), ... iterating over the items and dividing them into their respective groups ...
    (comp.programming)
  • Re: Cannot connect to skype
    ... As is it a closed source binary blob, ... Downloading the new version and trying it. ... Nothing to loose, everything to gain. ...
    (Ubuntu)
  • Re: Cannot connect to skype
    ... Downloading the new version and trying it. ... The beta is running rather well. ... Nothing to loose, everything to gain. ...
    (Ubuntu)
  • Re: 4 year diff, C-n-P to different wookrbooks (O2K4)
    ... gain or loose 4 years. ... You can change systems in Preferences/Calculation (check or uncheck the ... To do this with a number of dates at once, enter 1462 in a cell, copy ...
    (microsoft.public.mac.office.excel)
  • Re: $2/5 NL Live Cash Decision
    ... The guy on your immediate left, who is a loose calling station, says, "I'll see a flop with you" and calls. ... From what you know he could have anything, but probably any Ace or a small pair. ... About a $150 in the pot and then I push on any non ace flop. ... Its a cash game, not a tournament, so no consideration should be put to loosing your stack. ...
    (rec.gambling.poker)

Loading