protected function fastCheck(array $routes, $request)
    {
        $domain = $request->getHost();

        $path = ($request->path() == '/') ? '/' : '/' .$request->path();

        foreach (array($domain .$path, $path) as $key) {
            $route = Arr::get($routes, $key);

            if (! is_null($route) && $route->matches($request, true)) {
                return $route;
            }
        }
    }