diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-02-12 01:07:22 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-02-12 01:07:22 +0000 |
commit | 8316697801a73a14a2fe3845e0d0f5add63a18be (patch) | |
tree | 4b50ab2a0f9fa8e3d95e3c72e26eca17e29019c6 /src/expr/node_value.cpp | |
parent | ced51432b424f23e9ecea71566777bcd4e042800 (diff) |
Changes to hashing that solve the xinetd boolean benchmark in 14s (from ~25min). Switched to standard hash_set, hash_map, new hash for the vector of node values (from boost), changed the hash for nodes to be over id's, all the hash values are now size_t. The parser is down from 11s to 10s on the benchmark, so most of the solve time is parsing and we need to figure this out.
Diffstat (limited to 'src/expr/node_value.cpp')
-rw-r--r-- | src/expr/node_value.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/expr/node_value.cpp b/src/expr/node_value.cpp index 575ab7d37..f8bf33b5c 100644 --- a/src/expr/node_value.cpp +++ b/src/expr/node_value.cpp @@ -40,10 +40,6 @@ NodeValue::~NodeValue() { } } -uint64_t NodeValue::hash() const { - return computeHash(d_kind, ev_begin(), ev_end()); -} - void NodeValue::inc() { // FIXME multithreading if(EXPECT_TRUE( d_rc < MAX_RC )) { |