Core.String
Purpose
Section titled “Purpose”Provide UTF-8 string APIs with predictable cost.
MVP surface
Section titled “MVP surface”String.Len(string text) -> i64String.IsEmpty(string text) -> boolString.Contains(string text, string needle) -> bool
Constraints
Section titled “Constraints”- No hidden expensive behavior in cheap-looking calls.
- Allocation behavior should be explicit in API docs.