On Thu, Jul 22, 2010 at 8:21 PM, Mathew Kurian <bluejamesb...@gmail.com> wrote: > If someone has a bit of spare time, can he/she explain how these images are > loaded (time, allocation, garbage collection, etc) and then reproduced again > during the redraws, it would be extremely useful.
That particular aspect of the system is unlikely to be able to be improved (altho there may be some windows-specific strangeness I suppose; if you try on a mac and see the same behavior that would confirm my opinion). Instead, the question will be how to avoid doing the drawing that often. But to answer your question, the images are loaded by reading the file, interpreting the data stored there and creating a bitmap% object that records an flat array of the colors. Then, during drawing that data is (efficiently) copied onto the screen. Robby _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users