3 ms·
> Premature optimization concerns effort And the OP is correct that writing a correct comparison function needed for an ordered map is easier than writing a co
by naasking 7y ago
> Premature optimization concerns effort
And the OP is correct that writing a correct comparison function needed for an ordered map is easier than writing a correct hash function that is properly distributed. So the ordered map is lower effort for that reason alone, although the other properties the OP lists also produce valid reductions of effort.