Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] milter-greylist scalibility/performances : 10.000 to 20.000 email addresses

2004-08-03 by Emmanuel Dreyfus

On Tue, Aug 03, 2004 at 07:03:33PM +0900, Hajimu UMEMOTO wrote:
> Before IPv6 support, p_addr is a string form of an IPv4 address which
> size is 17 bytes.  Now, p_addr is a pointer which points to a string
> form of an IPv4 address (16 bytes) or an IPv6 address (up to 46 bytes).
> An IPv6 address is larger than an IPv4 address.  So, a space to
> hold an IP address was changed to a pointer which points to an IP
> address to intend to minimize space disadvantage for each entry.

I wonder if we should do the same for sender and recipient address. 
How expensive a malloc is?

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.