딕셔너리(hash)가 리스트보다 빠른 이유

장서연·2021년 10월 19일
0

The reason is because a dictionary is a lookup, while a list is an iteration. Dictionary uses a hash lookup, while your list requires walking through the list until it finds the result from beginning to the result each time.


0개의 댓글

관련 채용 정보