Fix VM memory allocation optimizations by reducing what we allocate on the heap
This commit is contained in:
@@ -232,7 +232,7 @@ func (l *Lexer) skipWhitespace() {
|
||||
}
|
||||
|
||||
func (l *Lexer) readString() (string, error) {
|
||||
b := &strings.Builder{}
|
||||
b := strings.Builder{}
|
||||
for {
|
||||
l.readChar()
|
||||
if l.ch == '\\' {
|
||||
|
||||
Reference in New Issue
Block a user