This returns a list out of th keys of a dict. In both cases of use remaining though it's used for checking membership, checking for list membership, lists are O(n) lookup, while dicts are O(1), so removing the abstraction reduces typing and improves performance.pull/4931/head
parent
d778a371ac
commit
c6060d795c
2 changed files with 3 additions and 6 deletions
Loading…
Reference in new issue