Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

Interpreter buffer refactor #156

Closed dail8859 closed 8 years ago

dail8859 commented 11 years ago

Stores the interpreters' buffer as [y, x] instead of [x, y]. This allows the Array and Buffer library to work on the buffer directly and is much more efficient than setting individual elements.

Nivekk commented 11 years ago

I'll think about this one. I like x,y encoding because it makes it easier for me to keep x and y straight, but I hear you about needless inefficiency.

dail8859 commented 11 years ago

Yes I agree that x,y tends to be easier to remember, so no worries :)

bshepherdson commented 11 years ago

Think of it as [row,column], and now they're in "natural" order!