[icinga-checkins] icinga.org: icinga2/feature/memory-usage: Improve config compiler' s memory usage

git at icinga.org git at icinga.org
Thu Nov 6 19:43:20 CET 2014


Module: icinga2
Branch: feature/memory-usage
Commit: ebfc5bd2fb7c6f2a5460a6308ba88d7757b8cd70
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=ebfc5bd2fb7c6f2a5460a6308ba88d7757b8cd70

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Thu Nov  6 19:35:47 2014 +0100

Improve config compiler's memory usage

---

 lib/base/dynamicobject.hpp       |    2 +-
 lib/base/dynamicobject.ti        |    4 +-
 lib/config/applyrule.cpp         |    8 +-
 lib/config/applyrule.hpp         |   10 +-
 lib/config/configitem.cpp        |   86 ++++++------
 lib/config/configitem.hpp        |    7 +-
 lib/config/configitembuilder.cpp |    2 +-
 lib/config/configitembuilder.hpp |    4 +-
 lib/config/expression.cpp        |  273 +++++++++++++++++++++++---------------
 lib/config/expression.hpp        |   78 +++++------
 lib/config/objectrule.cpp        |    8 +-
 lib/config/objectrule.hpp        |   10 +-
 lib/icinga/dependency.cpp        |   12 +-
 lib/icinga/dependency.ti         |    2 +-
 lib/icinga/notification.cpp      |   12 +-
 lib/icinga/notification.ti       |    2 +-
 lib/icinga/scheduleddowntime.cpp |   12 +-
 lib/icinga/scheduleddowntime.ti  |    2 +-
 lib/icinga/service.cpp           |    9 +-
 lib/icinga/service.ti            |    2 +-
 tools/mkclass/classcompiler.cpp  |    6 +
 21 files changed, 308 insertions(+), 243 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=ebfc5bd2fb7c6f2a5460a6308ba88d7757b8cd70


More information about the icinga-checkins mailing list