optimized URL::Equals ()