- Use LazyDict for deferred serialization, improving performance - Reuse regex patterns to avoid repeated compilation