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

You brought up an important opportunity for optimization. If you know the distribution of your data, it may make more sense to implement it in terms of the odd numbers and leave even numbers as the fallback. It's important to profile with a realistic distribution of data to make sure you're targeting the correct parity of numbers.




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

Search: