/explore
|
You are here |
www.cppstories.com | ||
| | | | |
bettythomasonowens.com
1 post published by Betty Owens on September 4, 2014 |
|
| | | | | ||
| | | | |
disq.us
In this text we'll have a look at a few examples that compare std::string_view against std::string. How much is std::string_view faster than standard std::string operations? Intro I was looking for some examples of string_view, and after a while, I got curious about the performance gain we might get. string_view is conceptually only a view of the string: usually implemented as[ptr, length]. |
|
| | | | | ||
| | | | |
www.bfilipek.com
Thank you for all the comments about the string_view performance! Last week I got a lot of feedback on how to improve the initial string split code. Have a look at how can we update the code and get some better performance. Intro Last week I showed a few examples of string_view. |
|
| | | | | ||
| | | | |
www.cppstories.com
I've finally got my copy of "Effective Modern C++"! The book looks great, good paper, nice font, colors... and of course the content :) While skimming through it for the first (or second) time I've found a nice idea for a factory method. I wanted to test it. The idea In the Item 18 there was described how to use std::unique_ptr and why it's far better than raw pointers or (deprecated) auto_ptr. |
|
| | | |||