Using a Package or Library with Faster Print Features
This is probably the easiest option that will result in real speed gains. You can get a package that will either
replace the built-in printing functions in your compiler with faster versions or provide you with faster alternatives.
replace the built-in printing functions in your compiler with faster versions or provide you with faster alternatives.
This option makes life pretty easy on the programmer because he will have to change his code very little, and he can use code that someone else has already spent a great deal of time optimizing. The downside is that the code might be owned by another programmer, and including it in your code might be expensive; or, if you decide to move your code to another platform, it might not exist for that machine.
Nonetheless, this can be a very practical and workable decision for the programmer to make.
No comments:
Post a Comment