[fpc-devel] "Maybe Gareth can be convinced to spend his energy on this ... "
Sven Barth
pascaldragon at googlemail.com
Thu Jun 27 14:15:27 CEST 2019
J. Gareth Moreton <gareth at moreton-family.com> schrieb am Do., 27. Juni
2019, 12:18:
> One thing I have been considering is to promote fields and global
> variables to local registers to reduce memory accesses. However, it would
> make multi-threaded code a bit trickier to write and demand the use of the
> "volatile" intrinsic on things like the conditions of while loops.
>
I think having record fields in registers would already go a long way.
Global variables aren't used /that/ often in modern, object oriented code
anyway.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190627/900cecd3/attachment.html>
More information about the fpc-devel
mailing list