Timeline for Is using malloc() and free() a really bad idea on Arduino?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 1, 2016 at 14:50 | comment | added | Mikael Patel | Pattern 2 should be avoided as it adds cycles for malloc() and free() when this can be done with "char buffer[size];" (in C++). I would also like to add the anti-pattern "Never from an ISR". | |
| Mar 1, 2015 at 14:49 | history | edited | Edgar Bonet | CC BY-SA 3.0 | This applies only to the malloc() from avr-libc. |
| Mar 1, 2015 at 13:51 | history | answered | Edgar Bonet | CC BY-SA 3.0 |