Fix VM memory allocation optimizations by reducing what we allocate on the heap
This commit is contained in:
@@ -14,5 +14,5 @@ func Str(args ...object.Object) object.Object {
|
||||
return newError(err.Error())
|
||||
}
|
||||
|
||||
return &object.String{Value: args[0].String()}
|
||||
return object.String{Value: args[0].String()}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user