ywkaras commented on a change in pull request #7079:
URL: https://github.com/apache/trafficserver/pull/7079#discussion_r464760029
##########
File path: iocore/net/quic/QUICFrame.h
##########
@@ -234,7 +234,7 @@ class QUICAckFrame : public QUICFrame
size_t size() const;
Ptr<IOBufferBlock> to_io_buffer_block(size_t limit) const;
uint64_t first_ack_block() const;
- void add_ack_block(const AckBlock block);
+ void add_ack_block(const AckBlock &block);
Review comment:
Nitpick: AckBlock is 16 bytes in size, looks to be small enough to be
passed in registers ( https://godbolt.org/z/MdrabW ). So this is a small
deoptimization.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]