Juliusz Chroboczek <[EMAIL PROTECTED]> wrote on 2 Dec 2007 16:02:
> Any ideas to make timeval_cmp more efficient are warmly welcomed.
In FreeBSD sources I read in sys/time.h
#define timevalcmp(tvp, uvp, cmp) \
(((tvp)->tv_sec == (uvp)->tv_sec) ? \
((tvp)->tv_usec cmp (uvp)->tv_usec) : \
((tvp)->tv_sec cmp (uvp)->tv_sec))
It seems to have an diffent API and I don't know if it uses less operations on
default path.
--
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users