| View previous topic :: View next topic |
| Author |
Message |
Erik Doekes Guest
|
Posted: Thu Jan 20, 2005 3:28 pm Post subject: What is __fastcall? |
|
|
Hi!
I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.
If I don't know what it stands for (don't think I'll ever understand), had I
better leave it out everywhere? (Except for IDE-managed functions which
always seem to contain __fastcall)
/Erik
|
|
| Back to top |
|
 |
Pawel Kowalczyk Guest
|
Posted: Thu Jan 20, 2005 8:19 pm Post subject: Re: What is __fastcall? |
|
|
Hi!
| Quote: | I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when
I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.
|
Have a look at this page - I think you'll find it helpful:
http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm
Pawel
|
|
| Back to top |
|
 |
Colin B Maharaj Guest
|
Posted: Mon Jan 24, 2005 1:40 pm Post subject: Re: What is __fastcall? |
|
|
Interesting results in the benchmark. I was thinking that such a small
loop would be cached totally into the CPU and run at CPU speed. Maybe if
he did the test with volatile keyword, on integers, then he may have
seen a difference?? :)
Pawel Kowalczyk wrote:
| Quote: | Hi!
I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when
I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.
Have a look at this page - I think you'll find it helpful:
http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm
Pawel
|
|
|
| Back to top |
|
 |
dkat Guest
|
Posted: Thu Feb 03, 2005 6:41 pm Post subject: Re: What is __fastcall? |
|
|
"Colin B Maharaj" <noreply (AT) myhost (DOT) com> wrote
| Quote: | Interesting results in the benchmark. I was thinking that such a small
loop would be cached totally into the CPU and run at CPU speed. Maybe if
he did the test with volatile keyword, on integers, then he may have seen
a difference??
|
In my DOS programs I actually have to turn register assignment off in order
to do real time speech and Reaction Time collection.
| Quote: | Pawel Kowalczyk wrote:
Hi!
I've searched the help but still don't understand. I think I don't need
to
know all the details either. But of course it's important that I know
when I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.
Have a look at this page - I think you'll find it helpful:
http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm
Pawel
|
|
|
| Back to top |
|
 |
|