What works faster?

Can someone from Webserver development team explane to me what construction works faster?

Example1:

<Client urlhost="*(url1|url2).com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

Example2:

<Client urlhost="(*url1|*url2).com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

Example3:

<Client urlhost="*url1.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

<Client urlhost="*url2.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

Example4:

<Client urlhost="www.url1.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

<Client urlhost="www.url2.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

<Client urlhost="url1.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

<Client urlhost="url2.com">

NameTrans fn="redirect" from="/" url="http://www.mysite.com/index.html"

</Client>

The site is quite heavily loaded so the goal is to save as much CPU as possible!

Does it work the same way in V6.0 and 6.1?

Thanks in advance!

Alexander aka ttalex

[1495 byte] By [derjugin] at [2007-11-26 9:11:09]
# 1
Your first example should be the most efficient, but not by much; I'd expect all of the examples to constitute less than 1% of request processing time. Unless you have hundreds or thousands of such directives, there's probably no reason to try to optimize them.
elving at 2007-7-6 23:30:55 > top of Java-index,Web & Directory Servers,Web Servers...