Performance

- Implemented Task::get_ref, which is a lower-cost attribute accessor.
- Called this in a few places.
This commit is contained in:
Paul Beckingham
2012-04-28 18:01:40 -04:00
parent 0c0f767688
commit b5f4fa03d2
3 changed files with 23 additions and 14 deletions

View File

@@ -70,6 +70,7 @@ public:
bool has (const std::string&) const;
std::vector <std::string> all ();
const std::string get (const std::string&) const;
const std::string& get_ref (const std::string&) const;
int get_int (const std::string&) const;
unsigned long get_ulong (const std::string&) const;
time_t get_date (const std::string&) const;