gunnarmorling / 1brc

1️⃣🐝🏎️ The One Billion Row Challenge -- A fun exploration of how quickly 1B rows from a text file can be aggregated with Java
https://www.morling.dev/blog/one-billion-row-challenge/
Apache License 2.0
6.08k stars 1.83k forks source link

jhonesto: first submission #608

Closed jhonesto closed 7 months ago

jhonesto commented 7 months ago

Check List:

gunnarmorling commented 7 months ago

Gonna close this one, as the implementation isn't valid and there's no intention to make the required changes.

jhonesto commented 7 months ago

It's clear to me that you are unable to handle this situation and any argument presented here without facts is just hallucination.

I asked you to show me a collision test case, and you answered: "I cAn'T cReAtE a TeSt CaSe FoR eVeRy HaSh AlGoRiThM."

And I told you that the algorithm used Arrays.hashCode (that uses ArraysSupport.hashcode), is the same used in most implementations. We're not reinventing the wheel here, nor participating in a Cypherpunks contest. Therefore, it would only be a test case, with two lines demonstrating a collision. In this way, all implementations could be tested accordingly.

Now let's suppose that there is a collision, since you haven't shown me anything, if I increase the data type to long and use another more robust algorithm for hashing, and obviously passing the tests, will it be accepted by you?

Because at the end of the day I want to know if I'm participating in an One billion rows chalenge or wasting my time with the "SOME EGO INFLATED THAT DOESN'T KNOW HOW TO MAKE USEFULL TEST CASES." chalenge.

gunnarmorling commented 7 months ago

Look, I have explained to you why this implementation isn't valid, I have given you a test case failing on the eval machine which proves this. Not sure what else you expect me to do. "Works on my machine" is not a convincing argument.

jhonesto commented 7 months ago

You're right.

"It works on my machine" isn't an argument, and "it fails on my machine" isn't either. I'm trying to solve this problem.

Just answer my question with yes or no. Because I have read enough B.S. here.

Bye.