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

> Locality is so important that linear actions trump asymptotic complexity until you get quite a lot more elements than you might expect.

The reverse of this can be true. In the following paper, they found that William's Heap Construction (one by one, O(n log n) time) beat Floyd's Heap Construction (O(n) time) when the input is larger than the size of off-chip cache.

https://doi.org/10.1145/351827.384257




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: