2 ms·
Not really. Only if a hash table lookup is the first part of every iteration of the for loop. It does allow some recursive algorithms to reduce their algorithm
by yoklov 12y ago
Not really. Only if a hash table lookup is the first part of every iteration of the for loop.
It does allow some recursive algorithms to reduce their algorithmic complexity significantly, however.