httpdate: minor size reduction in DSO
commit3ef703179891fa3f6f9d03f2ae58d289c691738e
authorEric Wong <normalperson@yhbt.net>
Tue, 19 Feb 2013 11:36:18 +0000 (19 11:36 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 24 Feb 2013 21:48:41 +0000 (24 21:48 +0000)
tree83aa78c9e0b3b9f4b5e7b3c58b7e37402f624dc2
parentf8829e69e28bb93dbbf9a220cdff163a6ba182d5
httpdate: minor size reduction in DSO

Extra pointers waste space in the DSO.  Normally I wouldn't
care, but the string lengths are identical and this code
already made it into another project in this form.

size(1) output:

         text      data     bss     dec     hex  filename
before: 42881      2040     336   45257    b0c9  unicorn_http.so
 after: 42499      1888     336   44723    aeb3  unicorn_http.so

ref: http://www.akkadia.org/drepper/dsohowto.pdf
ext/unicorn_http/httpdate.c