Better HN
topnewbestaskshowjobs
Log inSign up

jhpratt

6 karma · joined Feb 8, 2019 (7y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

I benchmarked this out of curiosity. Even using the bitshift and eliding the bounds checks (unsoundly), it's 22% slower than my optimized version.

comment 1y ago · link · parent

I'm not sure! It's certainly counterintuitive, particularly given that it is faster.

comment 1y ago · link · parent

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 · 1y ago · 15 comments

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.