str
str copied to clipboard
when Str::reverse(1*1024*1024), 1 Megabyte. Opacity will be negative value.

This is currently by design, we only allocate a few numbers of bits for capacity. Since the world is now using mostly 64-bit compiler we should probably redesign the data structures to optimize for 16-bytes on all architectures (previously was 8-bytes on 32-bit arch and 12 aligned to 16 on 64-bit arch).
Thanks for reply! It's cool Str class to use.