\str::bytes optimized