condition for 2.6.16

Jozsef Kadlecsik kadlec at blackhole.kfki.hu
Fri Apr 28 14:58:27 CEST 2006


On Fri, 28 Apr 2006, Massimiliano Hofer wrote:

> > How would you achieve O(1) average?
>
> Hash. But it adds complexity to the code and unnecessary complexity is a form
> of ugliness.

Why don't you choose an array and its indices? Array size could be
specified by module parameter if the default were not sufficient for
someone.

Best regards,
Jozsef
-
E-mail  : kadlec at blackhole.kfki.hu, kadlec at sunserv.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary



More information about the netfilter-devel mailing list