python < shell (for scripts)programming.devimage alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 1 year ago message-square40fedilinkarrow-up1383
arrow-up1383imagepython < shell (for scripts)programming.dev alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 1 year ago message-square40fedilink
minus-square Diplomjodler ( @Diplomjodler@feddit.de ) linkfedilink2•1 year agoAs long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.
minus-square grue ( @grue@lemmy.ml ) 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.