author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 28 Oct 2009 05:14:03 +0000 (05:14 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 28 Oct 2009 05:14:03 +0000 (05:14 +0000) | ||
commit | d8bc3ce0b0cffe366dba94a36f2e142622fe5452 | |
tree | 8dc54c64a03924e782f955f48dc035ddf17e0881 | tree | snapshot |
parent | 235249d302675a089d89502242a16e646684e270 | commit | diff |
Avoid unnecessary string handling for UPDATE commands in rrd_deaemon for 20x
speed increasse. Only copy as many bytes as necessary. During journal
replay, avoid unnecessary copy (string is discarded). Bug reported by
Thorsten von Eicken Patched by kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1961 a5681a0c-68f1-0310-ab6d-d61299d08faa
speed increasse. Only copy as many bytes as necessary. During journal
replay, avoid unnecessary copy (string is discarded). Bug reported by
Thorsten von Eicken Patched by kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1961 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c | diff | blob | history |