Hacker News new | past | comments | ask | show | jobs | submit login

The correct answer is to give identifiers to people, give them meaning, and then not use those identifiers in any way except for that.

In the backend use your own primary key, put a leading index on that other thing, it can even be shitty and long but if you have the first 50 chars indexed it will be fast as hell to lookup 99.999% of cases.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: