banan-os/BAN
Bananymous 229082a1b2 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
..
BAN BAN: Rewrite String with small string optimizations 2023-10-29 03:11:13 +03:00
include/BAN BAN: Rewrite String with small string optimizations 2023-10-29 03:11:13 +03:00
.gitignore Kernel: lol 2022-12-13 12:12:15 +02:00
CMakeLists.txt BuildSystem: use -a with rsync 2023-08-28 11:38:17 +03:00