Koenig's latest just went live at DDJ:
Is Moving Objects Worth the Hassle?
by Andrew Koenig
From the article:
Last week, I discussed how C++ compilers use overloading to decide whether to move or copy an object. This week, I'd like to take a step back and discuss why moving instead of copying is worth doing in the first place.
You might think that this claim needs no justification. After all, copying takes time; so programs that copy a lot of data will be slower than programs that avoid doing so. However, this kind of unthinking optimization can lead to trouble. For example...
Add a Comment
Comments are closed.