So in terms of garbage collection...the deletion of those arrays are the only part.<br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 9:27 PM, Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Thu, Jul 22, 2010 at 8:21 PM, Mathew Kurian <<a href="mailto:bluejamesbond@gmail.com">bluejamesbond@gmail.com</a>> wrote:<br>
> If someone has a bit of spare time, can he/she explain how these images are<br>
> loaded (time, allocation, garbage collection, etc) and then reproduced again<br>
> during the redraws, it would be extremely useful.<br>
<br>
</div>That particular aspect of the system is unlikely to be able to be<br>
improved (altho there may be some windows-specific strangeness I<br>
suppose; if you try on a mac and see the same behavior that would<br>
confirm my opinion).<br>
<br>
Instead, the question will be how to avoid doing the drawing that often.<br>
<br>
But to answer your question, the images are loaded by reading the<br>
file, interpreting the data stored there and creating a bitmap% object<br>
that records an flat array of the colors. Then, during drawing that<br>
data is (efficiently) copied onto the screen.<br>
<font color="#888888"><br>
Robby<br>
</font></blockquote></div><br>