Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aromaticrose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
aromaticrose
2y ago
Ohhhhh. The coffee's kicked in. Thanks for explaining. To recap, a list comprehension: 1. Creates a new, duplicate list containing every record in housing_records 2. Loops through the new list 3. Applies f() to each element and updates
2.
▲
by
aromaticrose
2y ago
Maybe it's just too early in the morning for me or I don't know enough about Python, but why would the OPs code snippet keep the list in memory, and why is yours an improvement? Also, is this something you could handwave because o
3.
▲
by
aromaticrose
3y ago
GrapheneOS is under active development and has interesting privacy and security features. https://grapheneos.org/ https://grapheneos.org/features