mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Performance
- Switched Hooks to a hash lookup, instead of linearly comparison.
This commit is contained in:
parent
fdf7d2203f
commit
d87e7c6934
2 changed files with 183 additions and 102 deletions
|
@ -74,6 +74,11 @@ private:
|
|||
API api;
|
||||
#endif
|
||||
std::vector <Hook> all; // All current hooks.
|
||||
|
||||
std::vector <std::string> validProgramEvents;
|
||||
std::vector <std::string> validListEvents;
|
||||
std::vector <std::string> validTaskEvents;
|
||||
std::vector <std::string> validFieldEvents;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue