summaryrefslogtreecommitdiff
path: root/decoders/ook_vis/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-03 11:14:31 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-07 22:50:46 +0200
commit3e962c2f5914300d63ccd5c135e4554c4314517f (patch)
tree7285ebd405f4debe8a6340561e94d9404e6ccbdf /decoders/ook_vis/pd.py
parent6a1b97e6b19f96d3f8df2f92c8d2dd82c1ecc3bb (diff)
downloadlibsigrokdecode-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/ook_vis/pd.py')
0 files changed, 0 insertions, 0 deletions