[Github-comments] [geany/geany] Avoid re-scanning the string (PR #2962)
Avinash Sonawane
notifications at xxxxx
Thu Nov 25 06:10:35 UTC 2021
> pos = strchr(pos + 18, '/');
I guess we can use hard-coded values (`18`) as long as it's guaranteed that the string format is not going to change?
--
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-978868792
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211124/e93bb39d/attachment-0001.htm>
More information about the Github-comments
mailing list