improved performance for data parsing