4 ms·
With inline data, only one malloc is needed for the buffer housekeeping and character data. It's also probably slightly better for cache performance since the
by ksherlock 4y ago
With inline data, only one malloc is needed for the buffer housekeeping and character data. It's also probably slightly better for cache performance since the housekeeping data and string data are together.
- gkfasdfasdf 4y agoAh I see. If you want to refer to a string that was not part of this allocation you would use the other str_t type,