You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/09/02 06:51:46 UTC

[GitHub] [nuttx-apps] xiaoxiang781216 opened a new pull request, #2025: Replace strlen with sizeof for kconfig string

xiaoxiang781216 opened a new pull request, #2025:
URL: https://github.com/apache/nuttx-apps/pull/2025

   ## Summary
   
   improve the speed and reduce the code size a little bit
   
   ## Impact
   
   code refactor
   
   ## Testing
   
   ci


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx-apps] pkarashchenko commented on pull request #2025: Replace strlen with sizeof for kconfig string

Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko commented on PR #2025:
URL: https://github.com/apache/nuttx-apps/pull/2025#issuecomment-1703750988

   I think it will not bring a speed and size impact. Maybe only with O0. I've experimented with similar things in the past and compiler computes all possible things at compile time so strlen call will not be inserted, but the computed value will be used. 


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx-apps] pkarashchenko merged pull request #2025: Replace strlen with sizeof for kconfig string

Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #2025:
URL: https://github.com/apache/nuttx-apps/pull/2025


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org