Open thechampagne opened 1 year ago
Does .capacity()
and .size
have the same value ?
Does
.capacity()
and.size
have 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()
I wrote an interface to make the library accessible by any language that support C FFI. link 👍