Closed ES-Alexander closed 3 years ago
Up to 27% faster for Ping360 on 2M baud serial connection
calculate_checksum
sum
__slots__
PingParser
parse_byte
ERROR
Helps with #101 (although Python's I/O can't really ever be completely as fast as compiled code).
:shipit: thanks for the updates!
Up to 27% faster for Ping360 on 2M baud serial connection
calculate_checksum
to use built insum
instead of manual loop__slots__
toPingParser
parse_byte
to directly call the relevant function for the current stateERROR
status code to be in line with ping-cpp