mercedes-benz / odxtools

odxtools is a collection of utilities to interact with the diagnostic functionality of automotive electronic control units using python
MIT License
180 stars 76 forks source link

Refactor decoding, part 1 #264

Closed andlaus closed 9 months ago

andlaus commented 9 months ago

This is the first PR of a mini series to refactor the decoding code of odxtools. In this PR, we refactor the DecodeState class with the aim of not having to create copies during the decoding process:

note that the "do not create copies" aim is not yet fully reached after this PR, but it will be at the end of this PR series...

Andreas Lauser <andreas.lauser@mercedes-benz.com>, on behalf of MBition GmbH. Provider Information

andlaus commented 9 months ago

thanks for the review @kayoub5 !