Repository navigation
feat(post): at -Os, an options struct links every setter (16 Dec) - #315
Merged
Merged
Conversation
The options-struct short from the lvgl26 size findings runs beside the constexpr assembler flagship of that day. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
A short from the lvgl26 size findings. One property set through an options struct kept all six setters of a demo widget at -Os on ARM GCC 16.2; naming the member as a template argument kept one. In lvgl26 the same change was 34,024 B of flash and 3,600 B of RAM (research note, PR 303), and PR 307 called constant setters inline. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
…s-struct post Card headline "One option set, six setters linked", paid off by the demo's -Os link table. Captions name the -O2 case and carry the lvgl26 disclosure. Suggested time Wednesday 2026-12-16, 16:00 UTC. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
filipsajdak
force-pushed
the
feat/post-options-struct-links-every-setter
branch
from
November 29, 2026 16:40
faffb7b to
7c6c2eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
16 Dec 16:00Z: at -Os, an options struct of optional members links every setter (in lvgl26 one dial.set({.value = v}) cost 34,024 B before; 15,392 B with today's contract settings), and naming the members at compile time links one. At -O2 GCC folds it; the post says so.
lvgl26 before (03496b8) and after (3a23a478) on a Cortex-M4 in QEMU, against the same screen in plain LVGL C:
Source: RESULTS.md in examples PR #109 (merges first). The lvgl26 disclosure line and status line are in the post.
Commits
chore(schedule)16 Dec 16:00Z double 2.feat(post)3.feat(social)Verification
check:future,check-pubdates,check-llms-sync, prose-lint, readability,check-social-render: pass.Merge waits for the owner's go (deadline 15 Dec 20:00Z).
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X