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

if it’s a 4% gain. then it’s the same 4% game no matter if running on a big fast cpu or a 8bit micro controller. right?



It isn't because those microcontrollers are not that smart about branch prediction and instruction ordering so the penalty is often bigger. Same with reordering - might not matter that much on a big modern CPU but may matter way more on a device with a micro cache and very slow division for example.




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

Search: