Salar
Salar
Nov 7 · 1 min read

He might have a point:

Here is the actual benchmark results:

| Method | Mean | Error | StdDev | Median |
| — — — — — — — | — — — — -:| — — — — — :| — — — — — :| — — — — -:|
| PostIncrement | 621.2 us | 13.120 us | 31.436 us | 610.6 us |
| PreIncrement | 585.9 us | 3.105 us | 2.904 us | 585.1 us |

BenchmarkDotNet=v0.11.5, OS=Windows 10.0.18362
Intel Core i7–6700 CPU 3.40GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.0.100
DefaultJob : .NET Core 3.0.0 (CoreCLR 4.700.19.46205, CoreFX 4.700.19.46214), 64bit RyuJIT

And here is the benchmark code if you’re curios:

https://gist.github.com/salarcode/892e69ad507fe7e7ef3b7df19ea87dd5

    Salar

    Written by

    Salar