author | Florian Forster <octo@collectd.org> | |
Thu, 11 Jul 2013 11:03:12 +0000 (13:03 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 11 Jul 2013 11:03:12 +0000 (13:03 +0200) | ||
commit | f234b329b148bd1203ea2b68110d85766e6615f7 | |
tree | 09e7d630c168349a252aa5d355e00acfcc746bf2 | tree | snapshot |
parent | 74f51aa494578a5b1cbd8a93597374c62db39640 | commit | diff |
statsd plugin: Dont'a call common.c:parse_value().
parse_value() is doing a strdup() do it can remove trailing whitespace.
We don't need that for the statsd protocol, so we just call strtoull()
instead, improving performance but a couple of percent again.
parse_value() is doing a strdup() do it can remove trailing whitespace.
We don't need that for the statsd protocol, so we just call strtoull()
instead, improving performance but a couple of percent again.
src/statsd.c | diff | blob | history |