Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not necessarily.

It depends on what your data source is. If it’s a stable sorted list that only ever gets appended at the end, you can use the index.

At the end of the day, there is no hard fast rule for the key. You have to know what your data source is.

You have to know what you’re doing.



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

Search: