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

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

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