Coalesce some allocations (#3747)

* View: Coalesce view model allocations
* SceneManager: Coalesce AppScene allocations
* BufferStream: Coalesce Buffer allocations
* ProtocolDict: Coalesce dict allocations
* DigitalSignal: Coalesce buffer allocations

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Silent
2024-07-03 13:56:13 +02:00
committed by GitHub
parent 2715d9a0e1
commit 7e0849b44e
9 changed files with 16 additions and 33 deletions

View File

@@ -17,6 +17,6 @@ typedef struct {
struct SceneManager {
SceneManagerIdStack_t scene_id_stack;
const SceneManagerHandlers* scene_handlers;
AppScene* scene;
void* context;
AppScene scene[];
};