@[email protected] to Programmer [email protected]English • 1 year agopython < shell (for scripts)programming.devmessage-square74fedilinkarrow-up1622
arrow-up1605imagepython < shell (for scripts)programming.dev@[email protected] to Programmer [email protected]English • 1 year agomessage-square74fedilink
minus-square@[email protected]linkfedilink2•1 year agoAs long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.
minus-square@[email protected]linkfedilink1•1 year agoPython is secretly a functional-paradigm language. If you’re not making liberal use of comprehensions instead of loops (especially loops with LBYL conditions in them), you’re doing it wrong.
As long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.
Python is secretly a functional-paradigm language. If you’re not making liberal use of comprehensions instead of loops (especially loops with LBYL conditions in them), you’re doing it wrong.