Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flush stdout after outputting debug message
TextIO.output() doesn't flush stdout, but print() does. Flushing is necessary to make sure the messages are printed in a timely fashion, which is important when debugging timing/performance issues. The performance hit of the extra flushing should be negligible, as even when these debug messages are enabled, they are only printed a few dozen times or so.
- Loading branch information