In your OP you said "As this script is going to be hit so many times by the webserver, I wondered if anyone had ideas on speeding it up?"
in reply to Re^2: Speeding up Apache RewriteMap script.
in thread Speeding up Apache RewriteMap script.
So if that is no longer perceived to be the case, I guess we can close this issue now?
^M Free your mind!
Key to hats: ^I=white ^B=black ^P=yellow ^E=red ^C=green ^M=blue - see Moron's scratchpad for fuller explanation.