Anonymous user
Knapsack problem/Bounded/Go test: Difference between revisions
m
fix typo
m (update sub-repo url) |
m (fix typo) |
||
Line 42:
* Make changes as desired
* Re-run the benchmark this time saving the output to a different file, e.g. <tt>bench.out</tt>
* Compare the results with "<code>benchcmp bench.out{.orig,}</code>" (or if
For example, when I changed the code to use a <code>struct</code> as a map key instead of a string, the output was:
<pre>
|