pcap/count-packets-per-ip: optimize speed with strings
Avoid creating long unique strings which trigger GC and slow down the loop. Shorter non-unique string are deduplicated, leading to less GC and faster processing.
Loading
Please register or sign in to comment