summaryrefslogtreecommitdiff
path: root/decoder/test/swim/tests/sample4.bin_tx
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-11-10 20:02:54 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-11-11 20:50:10 +0100
commit6a789f0afcc5894a81e3f56e11883f1446d46e7b (patch)
tree2ad76627f7656dd1cfc7c635def0b54a80b0c3cb /decoder/test/swim/tests/sample4.bin_tx
parent7d97c1424a7b39ccdf37128d66fb6632baf8f523 (diff)
downloadsigrok-test-6a789f0afcc5894a81e3f56e11883f1446d46e7b.tar.gz
sigrok-test-6a789f0afcc5894a81e3f56e11883f1446d46e7b.zip
pdtest: use less expensive Python routine to get text differences
Python ships with a difflib(3) module which is used in the pdtest(1) utility. The Differ.compare() routine is rather expensive, especially when the set of input text becomes "large" (a few thousand lines). Use the less expensive unified_diff() routine instead which does not suffer from that cost. From the sigrok-test perspective the resulting data is as usable.
Diffstat (limited to 'decoder/test/swim/tests/sample4.bin_tx')
0 files changed, 0 insertions, 0 deletions