3 ms·
Even if strings.Compare is optimized, it is not always better than general comparison operators. Both strings.Compare and comparison operators have their respe
by tapirl 4y ago
Even if strings.Compare is optimized, it is not always better than general comparison operators.
Both strings.Compare and comparison operators have their respective best use scenarios.