Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A 25kB RPG for your wristwatch (gamasutra.com)
57 points by Red_Tarsius on April 1, 2015 | hide | past | favorite | 1 comment


  For example, rand() % 10 consumes slightly more memory (eight bytes more, to be precise) 
  than rand() % 8.
I'm assuming this is because the latter takes fewer instructions to perform?




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

Search: