ishanpage@programming.dev to Programming@programming.devEnglish · 1 year agoProgramming "with the grain"ishan.pageexternal-linkmessage-square2fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkProgramming "with the grain"ishan.pageishanpage@programming.dev to Programming@programming.devEnglish · 1 year agomessage-square2fedilink
minus-squarenoneabove1182@sh.itjust.workslinkfedilinkEnglisharrow-up0·1 year agoHonestly an interesting thought and worth keeping in mind, I would love to see a lot more examples and more timing, especially for the pythonic ones, are they more efficient or just more python like?
minus-squareishanpage@programming.devOPlinkfedilinkEnglisharrow-up1·1 year agoOTOH, the more pythonic one will probably perform worse, but I’m not familiar enough with Python internals to make that claim without benchmarks. I’ll try it out and add the data in the article
Honestly an interesting thought and worth keeping in mind, I would love to see a lot more examples and more timing, especially for the pythonic ones, are they more efficient or just more python like?
OTOH, the more pythonic one will probably perform worse, but I’m not familiar enough with Python internals to make that claim without benchmarks.
I’ll try it out and add the data in the article