func magnitudeAwareKey(x int32) uint8 {
	if x <= 11 {
		return uint8(x)
	}
	// For all larger numbers, store the number of bytes +11.
	if x <= 0xffff {
		if x <= 0xff {
			return 12
		}
		return 13
	}
	if x <= 0xffffff {
		return 14
	}
	return 15
}
// magnitudeAwareKey is part of twoFieldKey below, and returns small figures verbatim,
// else signals magnitudes in a way susceptible to sorting.
// Parameter 'x' must be non-negative.
magnitudeAwareKey is part of twoFieldKey below, and returns small figures verbatim,
else signals magnitudes in a way susceptible to sorting.
Parameter 'x' must be non-negative.
// magnitudeAwareKey is part of twoFieldKey below and returns small figures verbatim // else signals magnitudes in a way susceptible to sorting . // Parameter ' x ' must be non - negative .
func magnitudeAwareKey(x int32) uint8 {
	if x <= 11 {
		return uint8(x)
	}
	if x <= 0xffff {
		if x <= 0xff {
			return 12
		}
		return 13
	}
	if x <= 0xffffff {
		return 14
	}
	return 15
}
func magnitudeAwareKey ( x int32 ) uint8 { if x <= 11 { return uint8 ( x ) } if x <= 0xffff { if x <= 0xff { return 12 } return 13 } if x <= 0xffffff { return 14 } return 15 }
magnitudeAwareKey is part of twoFieldKey below, and returns small figures verbatim,
else signals magnitudes in a way susceptible to sorting.
magnitudeAwareKey is part of twoFieldKey below and returns small figures verbatim else signals magnitudes in a way susceptible to sorting .
// For all larger numbers, store the number of bytes +11.