Files
esphome/script
J. Nick Koston f3c175ab39 [api] Remove virtual destructor from ProtoMessage
API protobuf messages are never deleted through base class pointers —
they are always stack-allocated and passed by reference. The virtual
destructor occupies 2 vtable slots (complete + deleting destructor)
on 32-bit platforms using the Itanium ABI, costing 8 bytes per vtable.

With 122 message classes, removing the virtual destructor saves
~976 bytes of flash. Each vtable shrinks from 24 bytes to 16 bytes.
2026-02-28 16:29:19 -10:00
..
2023-11-25 10:18:36 +11:00