You must log in or # to comment.
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