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 you'reyour shell doesn't support "<code>{}</code>", with something like "<code>benchcmp bench.out.orig bench.out</code>")
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>
Anonymous user