Have you tested it against Bresenham's technique?

Also... is it faster to use a case than a if then else?
I find it funny to use a case to test a boolean.