eziosoft / MultiWii_EZ_GUI

GNU General Public License v3.0
79 stars 61 forks source link

MSP encode/decode is slow #64

Open treymarc opened 9 years ago

treymarc commented 9 years ago

current msp is very slow , here is a proposal for a drastic speed improvement.

https://gist.github.com/treymarc/988b25f12305682648c3

serial code also seem to be slow ..

eziosoft commented 9 years ago

Could you say more about your implementation?

treymarc commented 9 years ago

the provided gist is self contained, just replace the relevant encode/decode .

i dont feel like explaining java optimisation, traceview is doing a better job than me at providing a big picture :

traceview