Remix.run Logo
yepyoukno 4 hours ago

Perils of “UUIDv4”. Everyone knows that’s what UUIDv7 was really for, and you should always convert that to binary to optimize everything.

JSR_FDED 2 hours ago | parent [-]

Small nit: uuid7 is 128 bits (16 bytes) by definition. So there’s no need to convert it to binary. It already is. Unless you’re working with a stringified version of the uuid7.

yepyoukno 2 hours ago | parent [-]

Oh yes, I meant don’t store as an ID in its string format!

dexterdog an hour ago | parent [-]

It's just s dumb as storing dates as strings, but people still do it.