echonest/echoprint-codegen — pull request #34 by jhurliman (2012-02-21 22:58:47+00:00)
Title: Don't spawn a separate thread if there is only one input file

This patch changes the logic in main.cxx (for platforms where echoprint-codegen can spawn multiple threads) to only spawn threads when more than one file is being fingerprinted. This results in a significant speedup for a common use case where echoprint-codegen is ran once per input file.