Files
purple-electrumwallet/electrum
SomberNight 03d9b29eee lntransport: optimise read_messages implementation
Not great to use a 'bytes' object as a FIFO buffer, as every slice copies the whole thing.
With bytearray, extending it from the right is fast,
and with the correct syntax, popping from the left is fast too.

see https://stackoverflow.com/a/57748513
https://bugs.python.org/issue19087
https://github.com/python/cpython/commit/5df8a8a1fd6cc6f4469dc7d3994d06e2aea24c52
2021-03-21 22:19:37 +01:00
..
2021-02-17 17:28:13 +01:00
2021-03-21 00:36:23 -04:00
2021-03-19 10:17:02 +01:00
2021-03-19 10:17:02 +01:00
2021-03-19 10:17:02 +01:00
2021-03-21 00:36:23 -04:00
2021-03-19 10:17:02 +01:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-03 15:35:38 +01:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-20 18:26:58 +00:00
2021-03-12 12:41:10 +01:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-02-23 22:38:53 +01:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00