Testing performance enhancements by enabling transformations cache

Also reduce the utilization of dynamic cast.
This commit is contained in:
Felipe Zimmerle
2015-11-04 00:28:04 -03:00
parent e641c3cc17
commit 2ee5d4ca8f
12 changed files with 80 additions and 17 deletions

View File

@@ -36,6 +36,7 @@ class Action {
: action_kind(2),
action(_action),
name(_action),
m_isNone(false),
temporaryAction(false) {
name.erase(0, 2);
}
@@ -43,6 +44,7 @@ class Action {
: action_kind(kind),
action(_action),
name(_action),
m_isNone(false),
temporaryAction(false) {
name.erase(0, 2);
}
@@ -94,6 +96,7 @@ class Action {
virtual void fill_intervention(ModSecurityIntervention *intervention);
bool temporaryAction;
bool m_isNone;
};