Y
Hacker News
new
|
ask
|
show
|
jobs
by
dorfsmay
418 days ago
I do the same with Python, replacing multilevel comprehensions with intermediary steps of generator expressions, which are lazy and therefore do not impact performance and memory usage.
https://peps.python.org/pep-0289/