Performance enhancements. Planet can be extracted within 65 minutes on a core i7/980 using 2.5GB of RAM.

This commit is contained in:
Dennis Luxen 2011-03-20 21:53:37 +00:00
parent 0e44126df6
commit 445f7c9a92
2 changed files with 0 additions and 7 deletions

View File

@ -53,11 +53,6 @@ public:
} }
~ExtractorCallbacks() { ~ExtractorCallbacks() {
delete allNodes;
delete usedNodes;
delete allEdges;
delete nameVector;
delete stringMap;
} }
bool adressFunction(_Node n, HashTable<std::string, std::string> &keyVals) { bool adressFunction(_Node n, HashTable<std::string, std::string> &keyVals) {

View File

@ -274,6 +274,4 @@ string GetRandomString() {
return string(s); return string(s);
} }
typedef google::dense_hash_map<NodeID, _Node> NodeMap;
#endif /* EXTRACTORSTRUCTS_H_ */ #endif /* EXTRACTORSTRUCTS_H_ */