Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt

my life at work, revisited

*grrr*. I can't figure out an efficient way to implement this thing. *growls*

(reads lj)

Nope. Nope. still can't do it. I swear, this thing is impossible.

(reads fark)

grrr. still nothing.

(reads k5)

Hrm. Maybe if I did this . . . and this . . . but then this will break, unless . . .


pain pain pain PAIN



AUGH this is going to suck to implement.

Oh well. I didn't really believe in data hiding anyway.

So all I have to do is (five pages of dense algorithm compressed into about two mental "sentences", complete with diagrams).

. . . I *think* it works.

Except I have to go deeper for the recursive cutoff to be efficient, and I can use inclusion/exclusion to make the block flagging more efficient.

I think.

The fact that this is almost but not quite integer math makes it much trickier.

This entire thing segues nicely into another LJ entry, which I will write later.
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment