Tue, 04 Oct 2022 19:25:07 +0200
fix over-optimization of strstr
1. it's actually less performant to frequently read bytes
from an array instead of using the native word length
2. the SBO buffer should be local and not static to allow
multi-threading usage
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ucx: Globals</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="uaplogo.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ucx </div> <div id="projectbrief">UAP Common Extensions</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="contents">   <h3><a id="index_s"></a>- s -</h3><ul> <li>scstr() : <a class="el" href="string_8h.html#a2b1d6f1eca1c1549f37107b9c026c5a6">string.h</a> </li> <li>scstrcasecmp() : <a class="el" href="string_8h.html#aca8142fb823d253054e17c17cfca05e0">string.h</a> </li> <li>scstrcaseprefix() : <a class="el" href="string_8h.html#a3718ef4aa1e86cdb26bda2f07fb585df">string.h</a> </li> <li>scstrcasesuffix() : <a class="el" href="string_8h.html#a6edb4b85f2b9efe79db7ffe6eccd7bc3">string.h</a> </li> <li>scstrcat() : <a class="el" href="string_8h.html#a7376842c19e954b49215da81ef76ac0c">string.h</a> </li> <li>scstrcat_a() : <a class="el" href="string_8h.html#abacce4cbd6f70fcb6453904ef08b02e9">string.h</a> </li> <li>scstrchr() : <a class="el" href="string_8h.html#a5836d6a7a744791c35e5c17bdc394a87">string.h</a> </li> <li>scstrcmp() : <a class="el" href="string_8h.html#af35272a8e5408c88ed3e25a3a98f0a82">string.h</a> </li> <li>scstrdup() : <a class="el" href="string_8h.html#a97dccce03af419596dbdd592ca46a164">string.h</a> </li> <li>scstrdup_a() : <a class="el" href="string_8h.html#a8fe58921f51eb1fde038472377e63014">string.h</a> </li> <li>scstrlower() : <a class="el" href="string_8h.html#abccf198bea3186ff2abb080cc88dcae6">string.h</a> </li> <li>scstrlower_a() : <a class="el" href="string_8h.html#a3cf1e557df7ab58d03c78832c4060276">string.h</a> </li> <li>scstrn() : <a class="el" href="string_8h.html#ae594f6e222ea394cef6a26c0dfad000d">string.h</a> </li> <li>scstrnlen() : <a class="el" href="string_8h.html#ac1b000030d6d197eec48c15a182055d5">string.h</a> </li> <li>scstrprefix() : <a class="el" href="string_8h.html#a599ddc2f88dd1df68b72eefd91347393">string.h</a> </li> <li>scstrrchr() : <a class="el" href="string_8h.html#ae389835b97cd9382e7d6a6a075323376">string.h</a> </li> <li>scstrscstr() : <a class="el" href="string_8h.html#a54f256c3abe811c52d58b4ff1b23f051">string.h</a> </li> <li>scstrsplit() : <a class="el" href="string_8h.html#ae71cac352b00230848bde358f0fb05ea">string.h</a> </li> <li>scstrsplit_a() : <a class="el" href="string_8h.html#a52906455ae530c9cdc6812c8e6d9bdef">string.h</a> </li> <li>scstrsstr() : <a class="el" href="string_8h.html#aa4362cb36c6629f9d8484739fd827748">string.h</a> </li> <li>scstrsubs() : <a class="el" href="string_8h.html#a9a6c8d8db0dda0037c3c852cce1a5060">string.h</a> </li> <li>scstrsubsl() : <a class="el" href="string_8h.html#ad50f0f67b906fad0744f46bcb51e144b">string.h</a> </li> <li>scstrsuffix() : <a class="el" href="string_8h.html#a1f0ae316a2afe85d5b4655e6ece6721a">string.h</a> </li> <li>scstrtrim() : <a class="el" href="string_8h.html#ad374b16eb1be8b48019debad9b9f268c">string.h</a> </li> <li>scstrupper() : <a class="el" href="string_8h.html#af3dd09ec9d11162fe0075f4e60f41240">string.h</a> </li> <li>scstrupper_a() : <a class="el" href="string_8h.html#aea94613eb74668cc05d365803d32bfad">string.h</a> </li> <li>sstr() : <a class="el" href="string_8h.html#a539eb7059251a051ee5d179526a23e9a">string.h</a> </li> <li>sstrchr() : <a class="el" href="string_8h.html#af80898a0b75955eb2579298c3ae2c481">string.h</a> </li> <li>sstrn() : <a class="el" href="string_8h.html#a2744c38ac44abf3e01fa059056dcf36c">string.h</a> </li> <li>sstrrchr() : <a class="el" href="string_8h.html#adae3f59957ca328e1da5285cb8b02a72">string.h</a> </li> <li>sstrsubs() : <a class="el" href="string_8h.html#a5eb9e0e1f26cf7fbecc038cd90e8b258">string.h</a> </li> <li>sstrsubsl() : <a class="el" href="string_8h.html#a78925c91af54f23cebd20ff99ef4331a">string.h</a> </li> <li>sstrtrim() : <a class="el" href="string_8h.html#ae2d6da564d3fce51f2e0cac580fdbc56">string.h</a> </li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Dec 19 2019 19:58:24 for ucx by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>