Just thought I'd give it a shot and submitted theditto samecode but in Java 8. Works like a charm. Java 7 submissionJava 8 submission And it's not some minor difference. There's a running time difference of> 2s, with Java 8 being the faster one. I'm really curious as to why thi...
* Computes and returns the difference between {@code this} and {@code other}: * {@code distance = this.yaw - other.yaw} * * @param other the other orientation 2D. Not modified. * @return the difference between {@code this} and {@code other} contained in [-pi, * pi</pi>]. *...