Improved string searching performance in synthetic benchmarks.

Signed-off-by: retep998 <retep998@verizon.net>