diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-12 08:47:24 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-12 08:47:24 +0800 |
commit | b27fd8f7572ee4774e1bdb635b0d9eda4339734a (patch) | |
tree | bfdb417705a4c8fb1b0d394568505a593f80616f /types.h | |
parent | 76977635e28e06192a486a9452e03bc7b8f612dc (diff) |
manual hash approach is even slower than STL mapfaster_fetch
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,7 +32,7 @@ static const int NUM_LVL_INT = 3; typedef set<EvalObj*> EvalObjAddrHash; typedef vector<EvalObj*> EvalObjVec; -typedef map<string, EvalObj*> Str2EvalObj; +//typedef map<string, EvalObj*> Str2EvalObj; typedef EvalObj* (*BuiltinProc)(Pair *, const string &); class PairReprCons; @@ -326,8 +326,8 @@ class PromObj: public EvalObj {/*{{{*/ class Environment {/*{{{*/ private: Environment *prev_envt; /**< Pointer to the upper-level environment */ - Str2EvalObj binding; /**< Store all pairs of identifier and its - corresponding obj */ +// Str2EvalObj binding; /**< Store all pairs of identifier and its +// corresponding obj */ public: /** Create an runtime environment * @param prev_envt the outer environment |