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

A way to give radix sort a performance boost is to allocate uninitialized blocks of memory for each bucket that are of size n. It exploits the MMU and you don’t have to worry about managing anything related to buckets potentially overwriting. The MMU is doing all the bookkeeping for you and the OS actually allocates memory only on page access.


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

Search: