Hi, I've just switched from kernel 2.2.16 to 2.4.3 (because of a smbfs
bug). Anyways, all is well except for one little thing. Over the LAN in
2.2.16 I was getting around 900k/sec between the linux server and the
rest of the computers. After I upgraded I only get 200k/sec. I've
rebooted using 2.2.
No, one rule would be MUCH faster. What's do you think would be faster of the two:
if ((ipaddr>=3232235521)&&(ipaddr<=3232235774))
return 1;
else
return 0;
or
for (a=0;a<(3232235774-3232235521);a++)
if (ipaddr==a)
return 1;
return 0;
Obviously it compares the 192.168.0.1 -
2 matches
Mail list logo