improve performance of snake case.