Performance & Memory Considerations
It's time to see how string_view fares in terms of memory efficiency.
We'll cover the following...
The core idea behind adding string_view
into the Standard Library was performance and memory consumption. By leveraging string_view
, you can efficiently skip the creation of many temp​orary strings which might boost performance.
Memory
string_view
is usually implemented as ...