]> sigrok.org Git - libsigrok.git/commitdiff
output/wavedrom: rephrase accumulation of output data
authorGerhard Sittig <redacted>
Sat, 21 Dec 2019 11:31:56 +0000 (12:31 +0100)
committerGerhard Sittig <redacted>
Sat, 21 Dec 2019 12:58:43 +0000 (13:58 +0100)
Iterate over the received sample set first, before iterating over the
respective sample's number of channels. This avoids redundant extraction
of sampled bits (which saves only little), but also increases locality
of processed data (though string accumulation still may be expensive).

It also adds the future option of RLE compression during accumulation of
output data, which perfectly matches the WaveDrom syntax for repeated
bit patterns.


No differences found