![]() Which adds the `use-set-for-membership` check. It's generally faster in python to use a set with the `in` keyword, because it's a hash check instead of a linear walk, this is especially true with strings, where it's actually O(n^2), one loop over the container, and an inner loop of the strings (as string comparison works by checking that `a[n] == b[n]`, in a loop). Also, I'm tired of complaining about this in reviews, let the tools do it for me :) |
||
---|---|---|
.. | ||
__init__.py | ||
interpreter.py | ||
introspection.py | ||
postprocess.py | ||
printer.py | ||
visitor.py |