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

you have to handle the case in which you have no remaining items as well, breaking up a chunk log(chunkToBreak/chunkSizeNeeded) times. And in the case that you have no viable chunk to use, you need to call back to the OS.



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

Search: