mambocab / rumble

A simple library for comparing functions' runtimes.
MIT License
3 stars 0 forks source link

make run() call into a generator #14

Closed mambocab closed 9 years ago

mambocab commented 9 years ago

13 is part of a misguided attempt to print incremental results in once circumstance and return a big string in another. But, incremental results can only mean one thing: yield! So each time (from some inner function) yield the table as a string, and the outermost function can deal with the print-or-stringify grossness.

mambocab commented 9 years ago

I think this may be unnecessary indirection. Closing for now.