Invert the if conditional in queue_append() and change the order of reads in minmax_point() - gcc on the rpi seems to do generate better code this way. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>