Skip to content

Comment on Every GitHub object has two IDsparent

Comments

Encoding a type name into an ID is never really something I've viewed as being about performance. Think of it more like an area code, it's an essential part of the identifier that tells you how to interpret the rest of it.

That's fair, and you could definitely put a prefix and a UUID (or whatever), I failed to consider that.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.