Interesting performance results on Crc port from zlib

welkam wwwelkam at gmail.com
Sun Jan 24 17:55:20 UTC 2021


On Sunday, 24 January 2021 at 16:23:24 UTC, Igor wrote:
> ldc2 -c -O3 source/crc32.d test/test.d

Edited the command for clarity. As I suspected the compiler can 
see the whole programs source code and because of that it can 
perform better optimizations. If you tried to compile C version 
with link time optimizations you might get similar results.


More information about the Digitalmars-d mailing list