@alexcoder04@programming.dev to Programmer Humor@programming.devEnglish • 1 year agopython < shell (for scripts)programming.devimagemessage-square74fedilinkarrow-up1617arrow-down117
arrow-up1600arrow-down1imagepython < shell (for scripts)programming.dev@alexcoder04@programming.dev to Programmer Humor@programming.devEnglish • 1 year agomessage-square74fedilink
minus-square@Diplomjodler@feddit.delinkfedilink2•1 year agoAs long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.
minus-square@grue@lemmy.mllinkfedilink1•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.