mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Summary: Previously we stored an `IntervalSet` in each `WriteAckFrame`. We don't need to do this, as by the time we are writing an `ACK` the `IntervalSet` is complete. Instead of bothering with the `IntervalSet` operations, we can simply serialize it to a reverse-sorted `vector.` Additionally this has some micro-optimizations for filling the ACK frame, with a new function for getting varint size. Reviewed By: yangchi Differential Revision: D19397728 fbshipit-source-id: ba6958fb36a4681edaa8394b1bcbbec3472e177d
36 KiB
36 KiB