Expand description
String utilities for performance optimization
This module provides helper functions and traits for efficient string operations including capacity pre-allocation and joining operations.
Traits§
- String
Builder - Extension trait for efficient string building
Functions§
- estimate_
csv_ row_ capacity - Estimate CSV row string length based on number of columns
- estimate_
json_ array_ capacity - Estimate JSON array string length
- join_
cell_ reference - Join cell references efficiently (e.g., [“A”, “1”] -> “A1”)
- join_
with_ capacity - Join strings with a separator, pre-allocating based on estimated total size
- string_
with_ capacity - Pre-allocate a String with estimated capacity