drcjt / CSharp-80

C# AOT compiler for Z80 based computers including the TRS-80 and ZX Spectrum
https://drcjt.github.io/CSharp-80/
GNU General Public License v3.0
51 stars 3 forks source link

Improve performance of Life Sample #522

Closed drcjt closed 1 month ago

drcjt commented 1 month ago

Improve performance of NextGeneration by avoiding use of multiplicaton in SetCell/ClearCell Add overall timing to main program

Prior to this PR overall timing is 124s:

image

With changes in this PR overall timing is 92s:

image

Which is a 25% improvement. :)

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud