Start-up will go faster if some of the work is put
in threads. This is particularly true for disk reads.
When the canvas shows, only the paint tool needs to
be ready. Other stuff (stamps, fonts, magic) can
continue to load in the background.

Three solutions to handle fast-clicking users:

a. show the yellow-and-black stripes when the user
   clicks on something that isn't ready (this is
   what the "Open" tool does now)

b. prevent selection, with the icon grey until ready

c. prevent selection, with mini-stripes on the icon
   until ready

Threading the disk reads allows the controller to
re-order requests to match physical reality on the
disk platter. Threading the CPU usage is needed for
hyperthreading and multi-core, which will be the
norm in a few years. Threading most anything will
cause an apparent performance boost, even if not a
real one, because the user isn't forced to wait.



_______________________________________________
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to