This is useful for hash lookups while parsing a const string, to avoid having to copy and nil-terminate it.