[icinga-checkins] icinga.org: icinga2/feature/memory-usage: Speed up type lookups

git at icinga.org git at icinga.org
Fri Nov 7 13:43:45 CET 2014


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Nov  7 12:32:25 2014 +0100

Speed up type lookups

refs #7561

---

 lib/base/dynamictype.hpp                  |    2 +-
 lib/base/fifo.hpp                         |    2 +-
 lib/base/networkstream.hpp                |    2 +-
 lib/base/object.cpp                       |    5 -----
 lib/base/object.hpp                       |   22 ++++++++++++++++---
 lib/base/primitivetype.cpp                |   11 +++++++---
 lib/base/primitivetype.hpp                |    9 +++++++-
 lib/base/process.hpp                      |    2 +-
 lib/base/ringbuffer.hpp                   |    2 +-
 lib/base/scriptfunction.hpp               |    2 +-
 lib/base/scriptvariable.hpp               |    2 +-
 lib/base/socket.hpp                       |    2 +-
 lib/base/statsfunction.hpp                |    2 +-
 lib/base/stdiostream.hpp                  |    2 +-
 lib/base/stream.hpp                       |    2 +-
 lib/base/string.cpp                       |    2 +-
 lib/base/tcpsocket.hpp                    |    2 +-
 lib/base/timer.hpp                        |    2 +-
 lib/base/tlsstream.hpp                    |    2 +-
 lib/base/type.cpp                         |   11 +++++-----
 lib/base/type.hpp                         |   32 ++++++++--------------------
 lib/base/unixsocket.hpp                   |    2 +-
 lib/cli/clicommand.hpp                    |    2 +-
 lib/cli/daemoncommand.hpp                 |    2 +-
 lib/cli/featuredisablecommand.hpp         |    2 +-
 lib/cli/featureenablecommand.hpp          |    2 +-
 lib/cli/featurelistcommand.hpp            |    2 +-
 lib/cli/nodeaddcommand.hpp                |    2 +-
 lib/cli/nodeblackandwhitelistcommand.hpp  |    2 +-
 lib/cli/nodelistcommand.hpp               |    2 +-
 lib/cli/noderemovecommand.hpp             |    2 +-
 lib/cli/nodesetcommand.hpp                |    2 +-
 lib/cli/nodesetupcommand.hpp              |    2 +-
 lib/cli/nodeupdateconfigcommand.hpp       |    2 +-
 lib/cli/nodewizardcommand.hpp             |    2 +-
 lib/cli/objectlistcommand.hpp             |    2 +-
 lib/cli/pkinewcacommand.hpp               |    2 +-
 lib/cli/pkinewcertcommand.hpp             |    2 +-
 lib/cli/pkirequestcommand.hpp             |    2 +-
 lib/cli/pkisavecertcommand.hpp            |    2 +-
 lib/cli/pkisigncsrcommand.hpp             |    2 +-
 lib/cli/pkiticketcommand.hpp              |    2 +-
 lib/cli/repositoryclearchangescommand.hpp |    2 +-
 lib/cli/repositorycommitcommand.hpp       |    2 +-
 lib/cli/repositoryobjectcommand.hpp       |    2 +-
 lib/cli/variablegetcommand.hpp            |    2 +-
 lib/cli/variablelistcommand.hpp           |    2 +-
 lib/config/configitem.hpp                 |    2 +-
 lib/config/configitembuilder.hpp          |    2 +-
 lib/config/configtype.hpp                 |    2 +-
 lib/config/expression.hpp                 |    2 +-
 lib/config/typerulelist.hpp               |    2 +-
 lib/icinga/macroresolver.hpp              |    2 +-
 lib/remote/apiclient.hpp                  |    2 +-
 lib/remote/apifunction.hpp                |    2 +-
 test/base-object.cpp                      |    2 +-
 tools/mkclass/classcompiler.cpp           |   33 +++++++++++++++++------------
 57 files changed, 119 insertions(+), 104 deletions(-)

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


More information about the icinga-checkins mailing list