Inspired by this article, I made similar commands as Elixir exercises.
http://postd.cc/a-little-story-about-the-yes-unix-command/
This i...
For further actions, you may consider blocking this person and/or reporting abuse
Sorry if you know why this slow, calling
IO.puts
every times make performance wrong. system call block until finish of I/O. I'm not good at Elixir, but you've better to use buffer for writing. Actually, yes command does not call write(2) for each lines.I didn't know that
IO.puts
takes such a cost. I'll try to use buffer with Elixir. Thanks for your advice!!Regarding performance, this was a pretty enlightening post: reddit.com/r/unix/comments/6gxduc/...
Thanks! The 10GiB/s speed is awesome.