<div dir="ltr"><div dir="ltr">Op wo 14 apr. 2021 om 07:21 schreef Hugh McMaster <<a href="mailto:hugh.mcmaster@outlook.com">hugh.mcmaster@outlook.com</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
While the sizeof() calculations in the ARRAY_SIZE() macro occur at<br>
compile-time (meaning no cost), lstrlenW() and friends are highly<br>
optimized for speed. Some implementations of strlen() are even written<br>
in assembly for even more speed.<br>
<br>
Given the string lengths being checked seem to be <= 5, any cost is<br>
extremely minimal at best.<br></blockquote><div><br></div><div>Understood.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm not sure if anyone else has any thoughts on this, but I still<br>
think calculating string length in WCMD_keyword_ws_found() will work<br>
better.<br></blockquote><div><br></div><div>I will just rework the series to do this instead. Thanks for all the comments/reviews.<br></div></div></div>