3 ms·
The approach obviously only works for read access and not for mutation. However those are the most often required operations. For owned strings and mutations di
by Matthias247 8y ago
The approach obviously only works for read access and not for mutation. However those are the most often required operations. For owned strings and mutations different APIs are required. C++ string_view vs string, and Rusts str slices vs owned Strings work like this.