Fixed some low hanging fruit in performance.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace MalachScript::Parser {
|
||||
if (pos >= _scriptLength) {
|
||||
return '\0';
|
||||
}
|
||||
return *(_script.data() + pos);
|
||||
return _script[pos];
|
||||
}
|
||||
|
||||
LexToken* LexNext();
|
||||
|
||||
Reference in New Issue
Block a user