Optimizing Mobile Applications
DAY1_1330_Room1_HarknessDundore_Long_Big
DAY1_1330_Room1_HarknessDundore_Long_Big
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Memory Conservation: Boxing<br />
• Happens when passing a value type as a reference type.<br />
• Value is temporarily allocated on the heap.<br />
• Example:<br />
int x = 1;<br />
object y = new object();<br />
y.Equals(x);<br />
// Boxes “x” onto the heap