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

Some hash tables promote updated entries to the front of the chain for faster access next time. It occurs to me that a good old splay tree would do that.

The thing is, you're not supposed to have buckets so large that you need a fancy data structure. If the table is not resizeable, it might not be avoidable.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: