Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
loganzk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
loganzk
9y ago
Working through them and noticed a few small things. For #3, you can make a boolean array with np.ones/np.zeros with the same dtype arg, saves a little bit of space. ie np.ones((3,3), dtype=bool) For #14, you can make use of the same c