Significant performance improvement for variable length values