🎈 perf(pacekt and tcp_segment init): reduce memset

This commit is contained in:
yangwei
2024-07-31 00:00:44 +08:00
committed by luwenpeng
parent 0414710399
commit 49539eb253
3 changed files with 3 additions and 9 deletions

View File

@@ -185,7 +185,7 @@ static void *work_thread(void *arg)
* Suggestion: After modifying the system time, restart the service to ensure consistent timing.
*/
now_ms = stellar_get_real_time_msec();
memset(packets, 0, sizeof(packets));
//memset(packets, 0, sizeof(packets));
nr_recv = packet_io_ingress(packet_io, thr_idx, packets, RX_BURST_MAX);
if (nr_recv == 0)
{