Led to a very significant speedup for the JuicyPixels backend with a
fairly minor change.