You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document alternative Dragon Curve parity calculation (#42)
The existing O(log n) solution solves in under 1µs, so there is not
really much to be shaved by swapping to an O(1) computation per bit.
But it is still a fun read, so worth documenting for anyone else using
this repository as a reference point.
It is also worth adding a unit test of the example given in part 1.
0 commit comments