Performance boost for Composite types with exactly two types

2 substr() function calls instead of 6 per call to unpack()