Hello,
On 03/17/08 20:04, henning Westerholt wrote:
is there a way
to access two or more P-Asserted-Identity header field
directly with PVs? The only way I found to do is via
$(hdr(P-Asserted-Identity)[N]). I ask because of performance ...
Hi Helmut,
do you face performance problems with this access method? Sure, one could
implement more PVs to access them.. But to have too many PVs would
complicate the whole server. I don't think this method is that much
slower..
If one wants the N-th header of some type, won't be much improvement as
it still needs to iterate to the Nth position, there are not direct
hooks for such case.
Henning is right, the method should be fast enough, if it is the case of
a known header, identification is done via integer comparison. If it is
not, will be string comparison, and in this case there is very likely to
have no direct hook, so optimization cannot be done.
Cheers,
Daniel
Cheers,
Henning
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users