@byroot.bsky.socialJean Boussier @byroot.bsky.social
2026-06-14 14:29 UTC
Depends. If the capacity did fit in a Slot (up to 623 bytes on 4.0, 1007 bytes on 4.1.0dev) then it's kept. But if the capacity was over that, then yes it is lost. bugs.ruby-lang.org/issues/17790
Link: Feature #17790: Have a way to clear a String without resetting its capacity - Ruby - Ruby Issue Tra… (bugs.ruby-lang.org/issues/17790)
A reply in a thread.
1 likes, 0 reposts, 1 replies
3 Next post4 More from @byroot.bsky.socialBackBluesky home