title: How long does variable assignment take?
body: <p>I've frequently come across code that made liberal use of variables like <code>var self = this;</code> so their code would look nicer. <strong>While I don't think assignments like these are going to be significant at all in any piece of code,</strong> I've always wondered how long an assignment like above would take.</p>
  
  <p>With that said: <strong>How long does it take, assuming it isn't optimized away?</strong> How do the times compare between different languages- e.g. C#, Java, and C++? Common value types (including pointers)? 32 / 64-bit architectures?</p>
  
  <hr>
  
  <p>EDIT: Erased the part about "noticeable difference". I meant that part as a side-question, but many people have seen that and started downvoting me for premature optimization (in spite of me highlighting the bottleneck part in bold).</p>