4 ms·
It looks to me like the lowest hanging fruit in terms of reducing the program's run time is in the PPM output code. https://github.com/sol-prog/async_tutorial/
by minimax 14y ago
It looks to me like the lowest hanging fruit in terms of reducing the program's run time is in the PPM output code.
https://github.com/sol-prog/async_tutorial/blob/master/ppm.cpp#L104 https://github.com/sol-prog/async_tutorial/blob/master/ppm.c...
Three calls to ostream::write() for each and every pixel. oof.