Replies: 8 comments 8 replies
-
Hey David(@corneliusdavid), Houston we have a slight problem: $ ./test_all.sh dcornelius
******** Test ********
===== David Cornelius ======
5c027842e7e4a5c121184450a4cf7372f989ffd8675368c3c46e2037bfc938a3 /home/gcarreno/Programming/1brc-ObjectPascal/results/dcornelius.output
db3d79d31b50daa8c03a1e4f2025029cb137f9971aa04129d8bca004795ae524 Official Output Hash
=========== There's an archived file containing the baseline output on the I think something is off with the alphabetic sorting. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hey David(@corneliusdavid), As promised: $ time ./bin/dcornelius /tmp/measurements-1_000_000_000.txt dic
{...}
real 6m55.244s
user 6m53.693s
sys 0m1.460s Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hey David(@corneliusdavid), While messing around with your entry, mainly to get it to use
I'm not sure if this was the case before I made your code use There's only one place where you call the rounding and it looks good. I'm quite baffled. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Rounding: While I was out of town, I changed the rounding routine in my code to match the updated one in the README (using Sorting: I studied Brian Fire's code and found out |
Beta Was this translation helpful? Give feedback.
-
Hey David(@corneliusdavid), WIth the work of Georges(@georges-hatem) we came to the conclusion that the overloading of the function TChallengeCommon.PascalRound(const x: Double): Double;
begin
Result := Ceil(x * 10) / 10;
end; Arnaud suggested that it could be mitigated with: function TChallengeCommon.PascalRound(const x: Double): Double;
begin
x:= x * 10;
Result := Ceil(x) / 10;
end; He also suggested a new Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hey David(@corneliusdavid), I've just ran you entry through the testing of the hash automation and it's doing good. Cheers, |
Beta Was this translation helpful? Give feedback.
-
What do you mean by "it's doing good"? Did the generated hash match or not? |
Beta Was this translation helpful? Give feedback.
-
Well, that's good news because I was going to give up if this new PR didn't work. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey David(@corneliusdavid),
As mentioned on the Discords, was able to get a Linux 64b compiled and
scp
over to the Linux host.Did not run the full automation on it due to having the Windows
VM
open and it would not be fair to your entry to be tested on that of a busy system.Will do that once I close it and then will post results here.
Cheers,
Gus
Beta Was this translation helpful? Give feedback.
All reactions