Consider eliminating return-by-value for classes like Fw.Buffer
Author: celskeggsCreated Sep 23, 2026Updated Sep 25, 2026
| F´ Version | v4.3.0 |
| Affected Component | Fw.Buffer |
Feature Description
Fw.Buffer is often returned by value, particularly in autocode, particularly for Fw.BufferGet. We should find a way to stop returning Fw.Buffer by value.
Rationale
Returning complex, virtual classes like Fw.Buffer by value is a performance hit, particularly for small microcontroller platforms. (Unfortunately I do not have performance impact numbers for this yet.)
Source: nasa/fprime