<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">J. Gareth Moreton <<a href="mailto:gareth@moreton-family.com">gareth@moreton-family.com</a>> schrieb am Do., 27. Juni 2019, 12:18:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>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.</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>