Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Implementations for Gray code encoding and decoding (leni536.github.io)
1 point by leni536 on Sept 27, 2019 | hide | past | favorite | 1 comment


Some time ago I wrote an implementation for Gray code decoding that made use of the POPCNT and PDEP CPU instructions. I thought it was interesting and I wrote up a short article on the topic. I will gladly answer any questions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: