Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
to3m
on Nov 29, 2016
|
parent
|
context
|
favorite
| on:
Beating the Compiler
What's wrong with using the best result? If you're concerned the code could run faster than possible: don't be :)
bArray
on Nov 29, 2016
[–]
What if the test data is random? Could just get lucky and get a happy day scenario.
Vendan
on Nov 29, 2016
|
parent
[–]
Then both versions should get that "happy day"? If you are using distinct random data for each version, then you aren't really benchmarking properly.
bArray
on Dec 2, 2016
|
root
|
parent
[–]
It doesn't say that they both use the same data sets.
Vendan
on Dec 4, 2016
|
root
|
parent
[–]
If they are using different data sets, then I'd say it's an invalid benchmark.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: