Wanted: A crate that implements a buffered zlib decoder that buffers, say, 32K of uncompressed data by doing the decompression in a separate thread. I think it’d be an easy way to speed up a lot of apps (image decoding, etc.) via pipelining, without much effort.
I had massive speedups doing this for PNG decoding. The trick is to have some CPU work to do while you pipeline it. In the case of PNG, that’s prediction/filtering.
-
-
Yeah, I essentially had it set up in a pipeline, task queue 1 processing zlib chunks, task queue 2 processing the decoded data. It's quite likely it was possible to make it work, but I didn't have the budget to keep digging on that project, so stuck with the naive approach.
-
Was that for PNG too?
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.