Marten Seemann
7023b52e13
speed up marshaling of transport parameters ( #3531 )
...
The speedup comes from multiple sources:
1. We now preallocate a byte slice, instead of appending multiple times.
2. Marshaling into a byte slice is faster than using a bytes.Buffer.
3. quicvarint.Write allocates, while quicvarint.Append doesn't.
2022-08-29 23:05:52 +03:00
..
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2018-04-18 12:25:26 +09:00
2018-04-18 12:25:26 +09:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-29 11:30:31 +03:00
2022-05-26 12:57:45 +02:00
2022-08-29 11:30:31 +03:00
2021-05-01 09:38:48 +07:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-29 11:30:31 +03:00
2022-08-29 11:30:31 +03:00
2022-08-28 23:18:24 +03:00
2022-08-29 11:30:31 +03:00
2020-09-14 17:01:34 +07:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-29 11:30:31 +03:00
2022-08-29 11:30:31 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2019-09-07 16:31:52 +07:00
2021-03-03 12:00:14 +08:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-28 23:18:24 +03:00
2022-08-29 23:05:52 +03:00
2022-08-29 23:05:52 +03:00
2022-08-29 10:58:33 +03:00
2022-08-29 10:58:33 +03:00
2022-05-26 12:57:45 +02:00