Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhpratt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
jhpratt
2y ago
I benchmarked this out of curiosity. Even using the bitshift and eliding the bounds checks (unsoundly), it's 22% slower than my optimized version.
2.
▲
by
jhpratt
2y ago
I'm not sure! It's certainly counterintuitive, particularly given that it is faster.
3.
▲
by
jhpratt
2y ago
What I need for the library is something that works for all values, not being range-limited.
4.
▲
Optimizing with Novel Calendrical Algorithms
(jhpratt.dev)
16 points
by
jhpratt
2y ago
|
15 comments
5.
▲
by
jhpratt
7y ago
A grid generator I created back when grid first came out has support for areas. Not spans, but that's because this only focuses on the container and not the children. https://jhpratt.github.io/grid
6.
▲
by
jhpratt
7y ago
I'm surprised to see this big of a reaction. I created something with nearly identical features (only missing the ability to specify gaps) right when grid was released. There was some interest, but not a ton.