#16

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

OpenChinayang1opened 4y ago

Activity

2
ocornut4y ago

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).

Chinayang14y ago

Thanks for reply! It's cool Str class to use.