func (ikey *Uint8Key) ComparedTo(key RbKey) KeyComparison {
    diff := int16(*ikey) - int16(*key.(*Uint8Key))
    switch {
    case diff > zeroInt16:
        return KeyIsGreater
    case diff < zeroInt16:
        return KeyIsLess
    default:
        return KeysAreEqual
    }
}
ComparedTo compares the given RbKey with its self
package rbt
type Uint8Key uint8
const zeroInt16 = int16(0)