StringBuilder
A blazing-fast string builder library for Luau, performing up to 200x faster than native string concatenation.
Overview
StringBuilder provides nearly full coverage of the robust C# StringBuilder API. It is memory efficient, incredibly powerful, and way faster than native string concatenation ("a" .. "b").
Inspired by depthso's original concept, but remade completely from the ground up using buffers for maximum memory efficiency and capability.
Key Features
- 🚀 Blazing Fast: Uses buffers for manipulation to bypass string memory allocation bottlenecks.
- 🗜️ Pack & Compress: Built-in methods to pack and efficiently compress your
StringBuilderobjects into smaller footprints (perfect for DataStores or networking). - 🛠️ Familiar API: Syntax mapping closely to the C# StringBuilder API.