Converting Optlink from Assembler to C - Reboot

bearophile bearophileHUGS at lycos.com
Tue Dec 1 03:50:27 PST 2009


I have forgotten something:

Walter:
>Although I have not run any speed tests, I expect the performance of the non-I/O bound code to be about 30% slower. Since a linker tends to be I/O bound, the actual performance loss probably will be about 10%, which I can live with.<

To improve this situation, when the translation to C is done, the program can be profiled, and the performance critical parts can be modified from spaghetti code with gotos to structured code that I think C optimizers can digest better.

Bye,
bearophile



More information about the Digitalmars-d mailing list