Comment

Comment by wholesomepotato

Might be wrong but this shortcut corrupts the lower bits with garbage from the higher byte.

The lookup table can detect some, but not all errors, so yeah, it relies on valid input.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton