MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vda9j/deleted_by_user/cerne3k/?context=3
r/ProgrammerHumor • u/[deleted] • Jan 16 '14
[removed]
446 comments sorted by
View all comments
Show parent comment
1
Is that necessary though? The normal algorithm is O(n), which is as good as you can ever hope to achieve.
1 u/sophacles Jan 17 '14 In real life, that constant tends to matter a lot. So do cache misses.
In real life, that constant tends to matter a lot. So do cache misses.
View all comments
Show parent comment
1
u/Ph0X Jan 17 '14
Is that necessary though? The normal algorithm is O(n), which is as good as you can ever hope to achieve.