You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flate and png.decode are faster: flate.deflate takes a quarter to a third less time and flate.inflate gives 1.3 to 2 times its rate, for the same bytes. png.decode of an 8-bit RGBA picture takes less than half its time. render.readback_poll of a linear target moves opaque pixels 4 at once, as it does for an sRGB target.
Reading pixels back is faster: a capture of the frame and render.readback_poll of an sRGB target move opaque pixels 4 at once (about 5 times less time for the capture, about 20 times for an opaque readback). The pixels are the same.
png.encode and flate.deflate are faster: .Small writes a 1400 x 925 screenshot in about 30 ms where it took about 95 ms, and flate.deflate takes about half its time on pictures. The filters of a row and the bytes of a match are compared 16 at once (SSE, NEON). A row with bytes of value 128 can take another filter than before: such a file differs by a few bytes, and reads back to the same pixels.