Hardcode values instead of using strlen and cache the lengths of strings.

Not sure why I chose to call strlen for constant values, in if-statements
within loops no less. In the case of the two blobs processed in the
Example_Usage.txt file, strlen was called over 38 million times!