4 ms·
If the key length is constant, the map as an upper limit on the number of possible elements, so all operations are constant time.
by aliceryhl 6y ago
If the key length is constant, the map as an upper limit on the number of possible elements, so all operations are constant time.