Fix VM memory allocation optimizations by reducing what we allocate on the heap
This commit is contained in:
@@ -4,5 +4,5 @@ import "monkey/internal/object"
|
||||
|
||||
// Hello ...
|
||||
func Hello(args ...object.Object) object.Object {
|
||||
return &object.String{Value: "Hello World!"}
|
||||
return object.String{Value: "Hello World!"}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user