Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ever wonder why software is so slow...?

Name: Cudder !cXCudderUE 2017-09-04 4:18

Because it's all written by retards.

https://github.com/ArtifexSoftware/jbig2dec/blob/master/jbig2_image.c

Scroll down to jbig2_image_compose_unopt()... and then facepalm. It doesn't take a genius to realise that twiddling an image pixel-by-pixel is going to be dead slow.

Name: Anonymous 2017-10-26 11:38

>>63

Just avoid using C++, otherwise you calls would go through an endless abstraction chain. Plain C is just faster, especially because it forces you to allocate all resources in advance, without these unpredictable RAII smart pointers.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List