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

If you're using malloc on boot only, you can almost always replace that with a static data declaration, which usually gets put in the same space the heap would otherwise use. It's better because the compiler can drop malloc, saving you some flash space, and static analysis tools can see how much RAM you're using (and if something is clearly going to blow up).


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

Search: