![]() |
Figure 2.4 shows the performance of building a sentence by
appending several words together. In this case, I chose not to compare
char* as there are many different approaches that could be used
here with the faster approaches involving a higher level of
complexity than the standard strcat method. Of the approaches
shown, the Str class continues to outperform string.