Optimizations in the GDG Sprite library (in the gdgsprit example).