Re: [PATCH] dnscache: merge similar outgoing udp packets
David Nicol <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 1, 2009 at 9:10 AM, Jeff King <[email protected]> wrote: > Both could be avoided by using dynamic allocation. Or by using a tree to hold the pending data, with a smaller static pool of nodes. -- perl -ple 's:20(\d\d)([01]\d)([0123]\d):qw/fri sat sun mon tue wed thu/[($1*1.25+$3+(1,4,4,0,2,5,0,3,6,1,4,6)[$2-1])%7]:e'