Closed RamonMeffert closed 3 years ago
Changes lookup time of the last call from O(n) to O(1). It seems like the last call is needed (way) more frequently than the first call.
O(n)
O(1)
Changes lookup time of the last call from
O(n)
toO(1)
. It seems like the last call is needed (way) more frequently than the first call.