Fix VM memory allocation optimizations by reducing what we allocate on the heap
This commit is contained in:
@@ -72,6 +72,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
func newError(format string, a ...interface{}) *object.Error {
|
||||
return &object.Error{Message: fmt.Sprintf(format, a...)}
|
||||
func newError(format string, a ...interface{}) object.Error {
|
||||
return object.Error{Message: fmt.Sprintf(format, a...)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user