Skip to content
Commit 24eb8dd8 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

According top my testing 'socache_mc_id2key' is 6x faster with the use 'ap_bin2hex' instead of

apr_snprintf(..., "%02X" for each character.
Output is *not* exactly the same. It was uppercase, now it is lowercase.

According to my understanding, this is not an issue.
Should it be, a call to ap_str_toupper should be added.

The speedup would be less, but still significant.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429561 13f79535-47bb-0310-9956-ffa450edef68
parent 30a9f1f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment