ParentFull threadDerekL·I'd need to use a profiler to be sure, but the first thing I'd try is to replace the printf call for each pixel with an fwrite.View on HN