Hello folks!
I noticed that we aren’t following the correct pattern for writing benchmark tests for several Go exercises.
As an example, here we’re running all the test cases in every iteration of the b.N loop versus here we’re iterating b.N times for each test case.
AFAIK, each benchmark case must have its own b.N loop (2nd example above) instead of sharing share a single b.N across multiple test cases.
Most exercises I’ve solved until now seem to follow the pattern from the 1st example. Is this something that needs an update?