author | Florian Forster <octo@collectd.org> | |
Tue, 14 Jan 2014 06:55:02 +0000 (07:55 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 14 Jan 2014 06:55:02 +0000 (07:55 +0100) | ||
commit | 23e91d536b2f50d09c1361c697a6db371efcc6c3 | |
tree | d43d40b7ece4ae57aa0b390a7f7b1aede0cefd14 | tree | snapshot |
parent | bdfb3f52d9df3ee202d926d1e5473693cc9b9032 | commit | diff |
src/common.[ch]: Rewrite the escape_slashes() function.
Cleaner and slightly more efficient (3.8% faster) version of escape_slashes().
This function is quite hot with, depending on the configuration, between 1.2%
and 2.6% of total CPU time spent here.
Cleaner and slightly more efficient (3.8% faster) version of escape_slashes().
This function is quite hot with, depending on the configuration, between 1.2%
and 2.6% of total CPU time spent here.
src/common.c | diff | blob | history | |
src/common.h | diff | blob | history |