In answer to the Rust pop-quiz feature request to provide the top 5 trade paths, there's this neat little utility called `tail -n` that prints out only the last n lines of a program's output.
So, we sort the results of the trades with `sordid_efficacy` then `tail -n 12` that result to find our most efficient (profitable) trade paths.
No comments:
Post a Comment