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

They talk about profiling at the end -- it would be nice to see numbers for how much faster or slower each of the code snippets is. It's hard to tell how much you should care about "boxing machine words", for example, especially when the faster version makes your code less maintainable. Is this only something to worry about if you have millions of items in your array?



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

Search: