diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-03 11:14:31 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-07 22:50:46 +0200 |
commit | 3e962c2f5914300d63ccd5c135e4554c4314517f (patch) | |
tree | 7285ebd405f4debe8a6340561e94d9404e6ccbdf /decoders/usb_signalling/__init__.py | |
parent | 6a1b97e6b19f96d3f8df2f92c8d2dd82c1ecc3bb (diff) | |
download | libsigrokdecode-3e962c2f5914300d63ccd5c135e4554c4314517f.tar.gz libsigrokdecode-3e962c2f5914300d63ccd5c135e4554c4314517f.zip |
timing: reduce "state", most action is local to .decode()
Reduce the number of self members, use local variables instead for data
which is strictly kept within a method and need not remain across calls.
Move options dictionary lookups out of the main loop, as the previous
implementation already did with 'edge'.
Diffstat (limited to 'decoders/usb_signalling/__init__.py')
0 files changed, 0 insertions, 0 deletions