StringDoc Optimizations