niklas-heer / speed-comparison

A repo which compares the speed of different programming languages.
https://niklas-heer.github.io/speed-comparison
MIT License
475 stars 76 forks source link

Updated C and C++ Programs #11

Closed frak0d closed 1 year ago

frak0d commented 2 years ago

I have simplified the code. Now both C and C++ implementations are about 28% faster than previous implementations. Everything is well commented as well.

On top of that, I have enabled compiler optimization for both C and C++ builds.

frak0d commented 2 years ago

@niklas-heer ping!

philipk19238 commented 2 years ago

@niklas-heer Please merge! Would like to see updated speeds.

niklas-heer commented 1 year ago

@0xB00B thank you very much for your contribution!