[Github-comments] [geany/geany] Avoid re-scanning the string (PR #2962)

Avinash Sonawane notifications at xxxxx
Thu Nov 25 06:36:27 UTC 2021


> wrong quote char (' vs `)

Fixed now. Thanks!

> The problem with strlen("Entering directory '") is strlen runs in linear time

I thought it could document the code well instead of using hard-coded number. But maybe I should add a commet instead and use the hard-coded number?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2962#issuecomment-978879988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211124/12352c8c/attachment-0001.htm>


More information about the Github-comments mailing list