2 ms·
I write embedded code and the moment I see (data, sizeof(data)) in any kind of initialization method, I immediately expect it not to allocate. Trust but verify
by BoorishBears 5y ago
I write embedded code and the moment I see (data, sizeof(data)) in any kind of initialization method, I immediately expect it not to allocate.
Trust but verify, but also I'll feel mislead if it does since it's an extremely common pattern