A few months ago, I was making a program that made use of a mouse interface. I had thought that I had come up with some uber awesome optimization, but the code I came up with used more memory than if I had done it the standard way. *facepalm

I never changed it back, and now, months later, I can't understand it.

Basically, it checks the abs() of the distance the mouse is from the center of the button. Rather than a simple

If X<max and X>min and Y<max and Y>min

I came up with this:

`If not(iPart((46-L₁(1))/19)) and not(iPart(43-L₁(2))/12`

*sigh

Can someone please fix this mess?

EDIT: So… the optimization was actually good! This is even better, though:

`If not(iPart((46-L₁(1))/19) or iPart(43-L₁(2))/12`