zig-string
zig-string copied to clipboard
Introduce C ABI compatible layer
Does .capacity() and .size have the same value ?
Does
.capacity()and.sizehave the same value ?
No, it's more like ArrayList's capacity vs len, capacity is the allocated storage len, size == how much actual content is in it. See methods like .removeRange()