Remove uses of std::endl, which imply a flush
Make `def` more efficient, fix to_string(string)
Merge branch 'performance_evaluations' into performance_test