[fpc-devel] Component FTag and Tag should be int64

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Nov 23 14:43:23 CET 2010


michael.vancanneyt at wisa.be schrieb:

> The task itself is easy. The consequences of this may not be so easy:
> 
> TComponent is a basic class. Many many instances are created during the
> lifetime of an application. Adding a field that adds 4/8 bytes to such a
> class is something we're not eager to do, since it has potentially a large
> impact on the memory consumption of existing apps.

Components consume much space already, so what's the percentage that a 
64 bit type would add to every component, and to the app? And when the 
Tag type/sice depends on the target, nothing will change unless for 64 
bit targets.

DoDi




More information about the fpc-devel mailing list