[fpc-devel] Improving Ref Counting

Jonas Maebe jonas at zeus.ugent.be
Mon Feb 28 13:25:28 CET 2005


On 28 feb 2005, at 13:14, Jamie McCracken wrote:

>> FPC could use that trick on (pretty much?) any platform. It doesn't 
>> have to be compatible with the official C++ abi of that platform 
>> (just like the current technique isn't either). It just isn't 
>> implemented yet.
>
> Yes thats right which is why I think its best to optimise its 
> implementation in the various RTLs (the Linux RTL could use the C++ 
> ABI or something else depending on which is faster etc).

It's not the RTL that contains these tables, it's the compiler that 
generates them. Using a specific ABI (table layout) is only required to 
be compatible with such tables generated by other compilers, I doubt 
there are many (if any) speed differences among them.


Jonas





More information about the fpc-devel mailing list