| leonardo ( |
Re: C# Linux timings
C# Mono is usually slower, its GC is much more primitive, etc. At the moment I am not much interested in trying mono on Linux.
I see, thank you for letting me know.
You can also totally remove the timing-related code, as I've done to some other version.
>Have you also tried to make the classes sealed in the c# version or convert them to structs (since you made the classes final in the java version ?) and benchmarked then again ?<
I have now set all classes in the C# code as sealed, but the performance is exactly the same. I don't know why.
Turning those classes into structs may be a bit too much work now. (If you offer me a C# version that uses structs, I can time it).
Nice Benchmark, but where are the Linux C# Benchmark results using mono (should be slower since mono is not as optimized as .net yet but it would be also very interesting) ?
C# Mono is usually slower, its GC is much more primitive, etc. At the moment I am not much interested in trying mono on Linux.
and then the c# version should be as plattform independent as the other versions.
I see, thank you for letting me know.
You can also totally remove the timing-related code, as I've done to some other version.
>Have you also tried to make the classes sealed in the c# version or convert them to structs (since you made the classes final in the java version ?) and benchmarked then again ?<
I have now set all classes in the C# code as sealed, but the performance is exactly the same. I don't know why.
Turning those classes into structs may be a bit too much work now. (If you offer me a C# version that uses structs, I can time it).