Improve editor#word speed