Sometimes in c++11 we need some library or function to increase our efficiency. And then, there are some implement.
There are two edition string_view lib which were implemented by others.
There is a way to XOR two string, maybe another way you can convert the string to bitset or other.
There is run length coding about binary string.
time diff coding
end at NO RunLength Coding version
the last time final complete version