Optimized construction from string collection