<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 30, 2018 at 1:37 AM, Michael Day <span dir="ltr"><<a href="mailto:mikeday@yeslogic.com" target="_blank">mikeday@yeslogic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For all that time, the compiler will need more memory to represent programs<br>
than it does right now, and initially, the time needed to fill in the<br>
new field won't generate any returns in terms of performance. (There will be<br>
such returns later, when switching to use the new field allows a compiler<br>
pass to avoid threading the current instmap though.)<br>
</blockquote>
<br>
Developer time is worth more than memory usage, so whatever approach makes software engineering smoother is probably the way to go.<span class="m_8400045790083153633HOEnZb"><font color="#888888"><br>
<br>
</font></span></blockquote><div><br></div><div>If the extra memory is only required during compilation, which seems to be the case, then I agree whole-heartedly, Use the RAM :)<br></div><div><br></div><div><br><br>If the extra memory is required in the generated executable, then I think the question is more complex. <br><br>Memory Required maps directly to Monthly VM Cost, so we always consider it when making decisions about which tech to use. Additionally, consider that for embedded development small memory footprints are a hard requirement.<br><br>The extra required memory seems like it might be as much as 1 word per Var, which in many cases will double the required RAM (Consider a program of only integer variables) and possibly the required stack space. Increased stack space requirements strongly imply function calls will be slower as well, since you have to push more stuff onto the stack, or if your able to use registers for function calls, you're more likely to fill up available registers and start pushing stuff onto the stack.<br><br></div><div><br><br></div><div>Cheers!<br><br></div><div>Charles<br></div></div></div></div>