[openssl/openssl] a4e21d: performance: improve ossl_lh_strcasehash

pauli noreply at reply.github.openssl.org
Sat May 21 19:54:34 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: a4e21d18d5b7cb4fef66c10f13b1b3b55945439f
      https://github.openssl.org/openssl/openssl/commit/a4e21d18d5b7cb4fef66c10f13b1b3b55945439f
  Author: Pauli <pauli at openssl.org>
  Date:   2022-05-21 (Sat, 21 May 2022)

  Changed paths:
    M crypto/lhash/lhash.c

  Log Message:
  -----------
  performance: improve ossl_lh_strcasehash

This improvement seems to roughly halve the time it takes to run the
ossl_lh_strcasehash function.

It should have no impact on the strings we hash and search for often (algorithm
names, property strings).

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18354)




More information about the openssl-commits mailing list