SSO-23 icon indicating copy to clipboard operation
SSO-23 copied to clipboard

Memory optimal Small String Optimization implementation for C++

Results 3 SSO-23 issues
Sort by recently updated
recently updated
newest added

All over the `README.md` file, there is code like : ```c++ CharT *data() { return (m_capacity > buffer_size) ? m_data.ptr : &m_data.buffer; } ``` Note that while the type of...

Because [new operator](https://en.cppreference.com/w/cpp/memory/new/operator_new) is > required to return a pointer **suitably aligned** to hold an object of any fundamental alignment. the pointer to struct long's `char` array always have at...

In README.md I can read: > **SSO-23** > ... > In the pictures we move the second most significant bit, but in practice it doesn't matter. I am not really...