Comment

Comment by jabl

> And OTH if you only require 16 bits integer width, there's not much point in picking a 32 bit integer type.

Some common architectures like x86 can suffer from an issue called partial register stalls. So from a performance perspective choosing a 32 bit integer can be better.

parent jabl 1 month ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton