performance improvements

This commit is contained in:
Eduardo Bart
2012-06-05 12:36:27 -03:00
parent 4de9787198
commit 023a4ebef6
19 changed files with 65 additions and 31 deletions

View File

@@ -68,7 +68,7 @@ public:
int getUseCount();
/// Returns the derived class name, its the same name used in Lua
virtual std::string getClassName() const {
std::string getClassName() const {
// TODO: this could be cached for more performance
return stdext::demangle_name(typeid(*this).name());
}