raiden00pl commented on PR #15345: URL: https://github.com/apache/nuttx/pull/15345#issuecomment-2904201084
@xiaoxiang781216 @wagnzhi16 this change has really bad impact on small systems in NuttX. It wastes about 2KB FLASH for a simple "hello world" application: 1. before this change ``` Memory region Used Size Region Size %age Used flash: 25140 B 64 KB 38.36% sram: 2824 B 16 KB 17.24% ``` 2. after this change: ``` Memory region Used Size Region Size %age Used flash: 23392 B 64 KB 35.69% sram: 2824 B 16 KB 17.24% ``` Here another the same "hello world" with more optimization: 1. before this change ``` Memory region Used Size Region Size %age Used flash: 18260 B 64 KB 27.86% sram: 1236 B 16 KB 7.54% ``` 2. after this change ``` Memory region Used Size Region Size %age Used flash: 20056 B 64 KB 30.60% sram: 1232 B 16 KB 7.52% ``` Reducing TCB size by 4B in exchange for almost 2KB FLASH is a very bad compromise! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org