improve performance massively from 0.9 seconds to 0.38 seconds :)
This commit is contained in:
@@ -108,7 +108,7 @@ int execute_code(FILE *stream, char *path, Stack *scope,
|
||||
darray_free(&__translated.bytecode, NULL);
|
||||
free(__translated.constants.data);
|
||||
*runtime_state = init_runtime_state(translated, path);
|
||||
err = runtime(translated, *runtime_state, scope);
|
||||
runtime(translated, *runtime_state, scope, &err);
|
||||
if (err.exists) {
|
||||
output_err(err);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user