Files
ladybird/AK/StringBuilder.cpp
Andreas Kling 72ea158f16 AK: Initialize StringBuilder buffer in place
Before this change, we'd construct a ByteBuffer for the internal buffer,
and then move-construct StringBuilder::m_buffer from it.

Due to ByteBuffer's inline capacity, this meant we had to memmove the
inline buffer an extra time for every StringBuilder created.
2025-10-05 11:24:46 +02:00

16 KiB