> We decided to optimize for speed rather than simplicity and even included special cases for short inputs.