diff options
| author | Gustavo F. Padovan <[email protected]> | 2010-05-01 16:15:42 -0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2010-05-10 09:28:50 +0200 |
| commit | 3b1a9f3fa6ad842991538da2c3b2e29e047b131f (patch) | |
| tree | 7d555cfaf3a017ded7bb1dc970b8a7caca37e348 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 812e737e29a1d559e7bfbea675fdcfcbad9f5e1f (diff) | |
Bluetooth: Optimize SREJ_QUEUE append
When the I-frame received is the expected, i.e., its tx_seq is equal to
expected_tx_seq and we are under a SREJ, we can just add it to the tail
of the list. Doing that we change the complexity from O(n) to O(1).
Signed-off-by: Gustavo F. Padovan <[email protected]>
Reviewed-by: João Paulo Rechi Vita <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions