|
|
|
|
|
by alkonaut
1754 days ago
|
|
I looked at the k-nucleotide, n-body, etc and saw nothing out of the ordinary in terms of C#. There wasn’t even a lot of “modern C#” low level optimization like ref-structs/spans and similar. It actually looks like there is quite a bit of performance from C#8, 9, 10 left on the table. |
|
Tons of very "interesting" attributes like this:
and tons of "unchecked" blocks.Not to mention that the entire file is using explicit vectorization, which I consider to be a very high degree of optimization -- tons of software never bothers to implement explicit vectorization, and does just fine.
If all of this is "nothing out of the ordinary", then "ordinary" C# has changed a lot since I last spent much time with it.
[0]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...