Release 1.1.1 TODO

Stefan Winter stefan.winter at restena.lu
Tue Mar 14 08:06:00 CET 2006


Hi,

> > How about adding bug #335? It's trivial, speeds up normal packet
> > handling and makes "hints" usage *consistent* for every packet
> > received.
>
>   Speeds up packet handling?
>
>   If it doesn't change existing behavior, I'm OK with adding it in.

existing behaviour is unchanged. The speed-up is very marginal, but:
as of yet, for every packet this if () condition is evaluated, and and in the 
vast majority of cases (whenever User-Name is present) it evals to true.
After taking these lines out, the if eval is saved (kinda being true always). 
Overall, you save one boolean evaluation per packet.

Greetings,

Stefan Winter

-- 
Stefan WINTER

Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung & Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter at restena.lu     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473




More information about the Freeradius-Devel mailing list