[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Wed Dec 12 08:43:46 CET 2007
src/plugin.c | 13 ++++++++++++-
src/utils_llist.c | 28 ++++++++++++++++------------
src/utils_llist.h | 4 +++-
3 files changed, 31 insertions(+), 14 deletions(-)
New commits:
commit e01359a9c65e5f7f26a481443504c75afab520d2
Author: Luke Heberling <collectd at c-ware.com>
Date: Wed Dec 12 08:43:34 2007 +0100
src/utils_llist.[ch]: Changed the semantic so module doesn't copy the `key'.
Whilst looking at my implementation of the plugins we've discussed which are
now using dual avl trees, I saw that the utils_llist module would be a more
efficient substitute for the second avl tree. However, it would need to know
its size and would preferably not duplicate and own the key for each item.
Here's a patch which does this. These changes might make it easier for future
plugins to use the linked list for similar purposes, similar to the way the avl
tree does not impose any lifetime on its keys.
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes
mailing list