Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112118 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97909 invoked from network); 26 Oct 2020 10:58:15 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Oct 2020 10:58:15 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C56971804C6 for ; Mon, 26 Oct 2020 03:16:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 26 Oct 2020 03:16:35 -0700 (PDT) Received: by mail-pj1-f45.google.com with SMTP id a17so2975617pju.1 for ; Mon, 26 Oct 2020 03:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jmJSm6eujTQ7LxB5eq9hsAV2yvajNK0Qk3AP81DqGh0=; b=k9Ae/IB7LW/0syxL6HxHQNsxy0tfXb656CWHzrp8VsD9MiexKXfnqyRbKI/m2qyQwm gTaDvfnFitLxJXigveDPNXe7jkQlqKO9OXfvmESBhmHYdO/nvIGtS+jnDYtPu7W/UCtu Xv2qMYUlmj0NewtexfUHcHY79L+TP52ScLmTXTh2JeEosFBCywkHFNiElfoi54CiALGj 1goNh5fBoxmhTN6AIGBOCkyzUG6LgeUFSCF3QYn5vaV3BprtAnIzxlK/dS6wM7RbIkkv /eD/7ee+dE7yxHJdZMqlyMROQ10IupSE708hU/7vOgrv3+Diq97oqrJhvXaPb6otF7Z4 LQXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jmJSm6eujTQ7LxB5eq9hsAV2yvajNK0Qk3AP81DqGh0=; b=g2rZfrdPGpMGBRefZP3EjC3hYmhUR2VxQx9HT1m6CcYd4WCHQyThYq0qR4Hz8MN6NS yHOJQR5LfxZWyc2bsyW2SpFmrLd12u7hoJT/1cBe6oxW+pF/Cs9CP6QyjOsAHxtZNB+T xPf5Cx3SoZEs451ATe7dzt08QG5N0FLq845a8lBV4bNAicSoVpo0zoeB4mSQnsfCCIwC Ce/71Cgz196+sEqx5drSvnZe0vryXqSf/qPy0ka/WkB1cCfzbfTXOeUhypW7fjPu2BIG cL0nvpRb/4L55b69iWtG26LFiCQsrvwN7uOmHqYGrX1FpVHRMACl+vS1hpv4+LyYky4a Z/+A== X-Gm-Message-State: AOAM532JHpHpvGu8sMpTecCB/YrOnIw60oCZzS0JZYvaitzj7JsBNMNU 4PIW6koA9XItFF06sgqPe/xzRX8Ve4Aul/7jozCDOYH/8oABzA== X-Google-Smtp-Source: ABdhPJx3phMESKS6TTThiOhFZO5lcyBh0jj9LSY26ewXfOazJ7d5VqEwkfkdVGSM21vPVTcl+RzrkRYLjon2j/GbQs8= X-Received: by 2002:a17:902:8202:b029:d4:e4c6:ec72 with SMTP id x2-20020a1709028202b02900d4e4c6ec72mr12870850pln.70.1603707392373; Mon, 26 Oct 2020 03:16:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 26 Oct 2020 11:16:20 +0100 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] why is non-crypto hashes excluded from /ext/hash/bench.php ? From: divinity76@gmail.com (Hans Henrik Bergan) @Nikita Popov > How did you draw the conclusion that non-crypto hashes are not included? yeah i know they're there when you run them, but if you look at the benchmarks in the source code, from line 4 - 71, all the non-crypto hashes are absent there, https://github.com/php/php-src/blob/master/ext/hash/bench.php#L4 On Mon, 26 Oct 2020 at 10:49, Nikita Popov wrote: > > Are they? When I run the script, I see things like crc and fnv show up. How did you draw the conclusion that non-crypto hashes are not included? > > Nikita