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
<!-- begin header --> <div id="page-header"> <span>UAP Common Extensions</span> <img src="uaplogo.png" alt="UAP Core"> </div> <!-- end header --> <!-- begin navigation --> <div id="sidebar"> <div class="nav"> <h3>Getting Started</h3> <ul> <li><a href="index.html">Overview</a></li> <li><a href="install.html">Build Instructions</a></li> <li><a href="license.html">License</a></li> </ul> </div> <div class="nav"> <h3>Documentation</h3> <ul> <li><a href="modules.html">Modules</a> <ul> <li><a href="modules.html#allocator">Allocator</a></li> <li><a href="modules.html#array">Array</a></li> <li><a href="modules.html#avl-tree">AVL Tree</a></li> <li><a href="modules.html#buffer">Buffer</a></li> <li><a href="modules.html#list">List</a></li> <li><a href="modules.html#logging">Logging</a></li> <li><a href="modules.html#map">Map</a></li> <li><a href="modules.html#memory-pool">Memory Pool</a></li> <li><a href="modules.html#properties">Properties</a></li> <li><a href="modules.html#stack">Stack</a></li> <li><a href="modules.html#string">String</a></li> <li><a href="modules.html#testing">Testing</a></li> <li><a href="modules.html#utilities">Utilities</a></li> </ul> </li> <li><a target="_blank" href="api-2.1/index.html">API Reference</a></li> </ul> </div> <div class="nav"> <h3>Repositories</h3> <ul> <li><a target="_blank" href="https://develop.uap-core.de/hg/ucx/">UAP Core Repository</a></li> <li><a target="_blank" href="https://sourceforge.net/p/ucx/">Source Forge</a></li> </ul> </div> <div class="nav"> <h3>Partners</h3> <ul> <li><a target="_blank" href="https://www.unixwork.de">UNIXwork</a></li> </ul> </div> </div> <!-- end navigation --> <!-- begin content --> <div id="content">