banan-os/BAN/BAN
Bananymous 1af3ca19ab BAN: Rewrite String with small string optimizations
String now holds a 15 byte sso buffer. I'm not sure what the size
should actually be but 15 will work for now. Maybe the sso buffer
should be contained in an union with one bit flag in size instead of
variant that uses extra 8 bytes for type index.

This patch buffs sizeof(String) from 24 bytes to 32 bytes on 64 bit.
I assume this is much better version than the old which had to make
allocation even for empty strings :D.
2023-10-29 03:11:13 +03:00
..
New.cpp BAN: Move RefPtr to its own file and create New.h 2023-04-10 21:07:25 +03:00
String.cpp BAN: Rewrite String with small string optimizations 2023-10-29 03:11:13 +03:00
StringView.cpp All: Clear lines with only whitspace in them 2023-09-10 00:31:42 +03:00
Time.cpp All: Clear lines with only whitspace in them 2023-09-10 00:31:42 +03:00