Minor efficiency improvement by pre sizing match stack

This commit is contained in:
Jason Turner
2015-05-19 10:55:38 -06:00
parent 9da9012701
commit dec88db26c
2 changed files with 3 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ namespace chaiscript
m_multiline_comment_end("*/"),
m_singleline_comment("//")
{
m_match_stack.reserve(2);
setup_operators();
}