str icon indicating copy to clipboard operation
str copied to clipboard

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

Open Chinayang1 opened this issue 3 years ago • 2 comments

c_0 c_1 c_3

Chinayang1 avatar Dec 30 '21 11:12 Chinayang1

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

ocornut avatar Dec 30 '21 11:12 ocornut

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

Chinayang1 avatar Jan 06 '22 12:01 Chinayang1