it's possible to determine how many base-10 digits a u32 will require, by using a small lookup table, and add, and a shift:

super interesting explanation of how they got there

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!