From the desk of ARK:
Some Optimizations Are More Important Than Others
by Andrew Koenig
From the article:
[...] In short, the key to finding effective ways to speed up a program is to look at the parts of the program that dominate its execution time and find ways of speeding up those parts that require relatively little programmer effort to implement.
With this background in mind, let's think about moving data rather than copying it. Suppose, for example, that we have two functions, each of which takes a
string
argument: ...
Add a Comment
Comments are closed.