]> granicus.if.org Git - apache/commit
Merge r1429561 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 11 Mar 2013 16:32:55 +0000 (16:32 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 11 Mar 2013 16:32:55 +0000 (16:32 +0000)
commitdd5210831e2f6680b3bd33913132a8bf64e7b3b8
tree2d9caebb20afcdff1aee52638cab69ad3a0a8b00
parent1b972d4e197054ee43004116af69132fefdec408
Merge r1429561 from trunk:

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.
Submitted by: jailletc36
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1455220 13f79535-47bb-0310-9956-ffa450edef68
STATUS
modules/cache/mod_socache_memcache.c