5 ms·
> I sometimes render 50mb PNGs. The execution of decoder is insignificant compared to everything else. Fair point but you have to admit that is a very niche us
by pier25 7y ago
> I sometimes render 50mb PNGs. The execution of decoder is insignificant compared to everything else.
Fair point but you have to admit that is a very niche use case.
Have you compared the execution to native performance? Even decoding a 50MB JPEG in Chrome with turbojpeg is going to be a hard pill to swallow.
- hug 7y agoI do know it's a niche use case. And I for sure wouldn't recommend that every man and his dog use the polyfill. I'm not even sure it's right for the scenario I'm thinking of. But I can definitely contrive a case where it is. I haven't benchmarked this specific thing, because I've never used it. But I might, because it sounds like a fun thing to do.