![]() This finds uses of deny-listed functions, which defaults to map and filter. These functions should be replaced by comprehensions in idiomatic python because: 1. comprehensions are more heavily optimized and are often faster 2. They avoid the need for lambdas in some cases, which make them faster 3. you can do the equivalent in one statement rather than two, which is faster 4. They're easier to read 5. if you need a concrete instance (ie, a list) then you don't have to convert the iterator to a list afterwards |
||
---|---|---|
.. | ||
primitives | ||
__init__.py | ||
compiler.py | ||
dependencyfallbacks.py | ||
interpreter.py | ||
interpreterobjects.py | ||
kwargs.py | ||
mesonmain.py | ||
type_checking.py |