richardanaya / conifer

Apache License 2.0
37 stars 4 forks source link

Use vecs of integers instead of bytes #18

Closed richardanaya closed 4 years ago

richardanaya commented 4 years ago

I feel like one performance gain we could get would be by using vecs of integers instead of bytes.

nbrr commented 4 years ago

How so? I guess as long as we have 4 bpp we could do u32.

richardanaya commented 4 years ago

This is complete :)

nbrr commented 4 years ago

You went a bit too fast there and there since canvas.pixels size now match the blitmap size.