Ruby 2.4 has optimized lstrip and strip methods for single byte strings
blog.bigbinary.com