Attention is currently required from: kirr.
fixeria has posted comments on this change by kirr. ( https://gerrit.osmocom.org/c/osmocom-bb/+/39536?usp=email )
Change subject: trx_toolkit/*: Represent bursts as arrays instead of lists ......................................................................
Patch Set 2: Code-Review+2
(1 comment)
File src/target/trx_toolkit/data_msg.py:
https://gerrit.osmocom.org/c/osmocom-bb/+/39536/comment/cc80fd36_4bd0a373?us... : PS2, Line 31: struct.unpack('b', struct.pack('B', x))[0] Alternatively, we could use `int.to_bytes()` / `int.from_bytes()` API here:
``` return int.from_bytes(x.to_bytes(1), signed=True) ```
No idea if it's better or worse in terms of performance though.