zwoop opened a new issue, #10011: URL: https://github.com/apache/trafficserver/issues/10011
``` *** CID 1517812: Performance inefficiencies (COPY_INSTEAD_OF_MOVE) /iocore/net/[UnixUDPNet.cc](http://unixudpnet.cc/): 97 in UDPPacket::new_incoming_UDPPacket(sockaddr *, sockaddr *, Ptr<IOBufferBlock>)() 91 92 p->p.in_the_priority_queue = 0; 93 p->p.in_heap = 0; 94 p->p.delivery_time = 0; 95 ats_ip_copy(&p->from, from); 96 ats_ip_copy(&p->to, to); CID 1517812: Performance inefficiencies (COPY_INSTEAD_OF_MOVE) "block" is copied in a call to copy assignment "operator =", when it could be moved instead. 97 p->p.chain = block; 98 99 return p; 100 } 101 102 UDPPacket::UDPPacket() ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
