diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-19 20:34:14 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-19 20:34:14 +0000 |
commit | a67b9de1742efbff29ec08093b220565eab7df23 (patch) | |
tree | 1f0778b8e417fd24873b945f8d2e89a292a25942 /include/globals.h | |
parent | e93827e41cdb958314eb669e94c9dd1280b691c9 (diff) |
Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/globals.h')
-rw-r--r-- | include/globals.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/globals.h b/include/globals.h deleted file mode 100644 index 2de2ba11b..000000000 --- a/include/globals.h +++ /dev/null @@ -1,37 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits - * - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#ifndef __WORLD_H -#define __WORLD_H - -#include <vector> -#include <deque> -#include <map> - -/** A cached text file stored with its contents as lines - */ -typedef std::deque< std::string > file_cache; - -/** A configuration key and value pair - */ -typedef std::pair< std::string, std::string > KeyVal; - -/** A list of related configuration keys and values - */ -typedef std::vector< KeyVal > KeyValList; - -/** An entire config file, built up of KeyValLists - */ -typedef std::multimap< std::string, KeyValList > ConfigDataHash; - -#endif |