Improve input init speed.