@[email protected] to Programmer [email protected]English • 2 years agopython < shell (for scripts)programming.devimagemessage-square73fedilinkarrow-up1615arrow-down117
arrow-up1598arrow-down1imagepython < shell (for scripts)programming.dev@[email protected] to Programmer [email protected]English • 2 years agomessage-square73fedilink
minus-square@[email protected]linkfedilink2•2 years agoAs long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.
minus-square@[email protected]linkfedilink1•2 years 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.