C++: Optimization Techniques Kindle Edition by Henry P. Delima(.ePUB)+
File Size: 1.0 MB
C++: Optimization Techniques Kindle Edition by Henry P. Delima
Requirements: .ePUB, .MOBI/.AZW reader, 1.0 MB
Overview: Suppose you have written a program to calculate mortgage payments; the yearly run takes ten minutes. Should you spend two hours to double its speed? Probably not, since it will take twenty-four years to pay back the original investment of time at five minutes per year.2 On the other hand, if you run a program for three hours every working day, even spending thirty hours to double its speed will pay for itself in only twenty working days, or about a month. Obviously the latter is a much better candidate for optimization. Usually, of course, the situation is not nearly so unambiguous: even if your system is overloaded, it may not be
immediately apparent which program is responsible.3 My general rule is not to optimize a program that performs satisfactorily. If you
(or the intended users) don’t become impatient while waiting for it to finish, don’t bother. Of course, if you just feel like indulging
in some recreational optimization, that’s another matter.
Genre: Non-Fiction > Tech & Devices

Free Download links: