Optimize the performance of typed row access