>>814
安全に速くするにはこう?
remote += replacement[(offset + remote)..]
 .iter()
 .take_while(|b| **b == b' ')
 .take(tab_size as usize - remote)
 .count();