ASCWriter speed improvement by pierreluctg · Pull Request #1856 · hardbyte/python-can

zariiii9003

felixdivo

Changed how the message data is converted to string. This results in and 100% speed improvement.

On my PC, before the change, logging 10000 messages was taking ~16 seconds and this change drop it to ~8 seconds. With this change, the ASCWriter is still one of the slowest writer we have in Python-can.

@pierreluctg

@pierreluctg

@pierreluctg

@pierreluctg

Co-authored-by: Felix Divo <4403130+felixdivo@users.noreply.github.com>