From f116e4030dabf8123f07863a7c4bca6f954d3801 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Mon, 6 Jul 2020 12:51:33 -0400 Subject: [PATCH] docs: add info on module table init refactor --- runtime/src/module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/src/module.c b/runtime/src/module.c index ba41637..1bfcea7 100644 --- a/runtime/src/module.c +++ b/runtime/src/module.c @@ -158,7 +158,8 @@ module_new(char *name, char *path, i32 argument_count, u32 stack_size, u32 max_m * we are not invoking this in a way that clobbers a current module. * * If we want to be able to do this later, we can possibly defer module_initialize_table until the first - * invocation + * invocation. Alternatively, we can maintain the module_indirect_table per sandbox and call initialize + * on each sandbox if this "assumption" is too restrictive and we're ready to pay a per-sandbox performance hit. */ assert(local_sandbox_context_cache.module_indirect_table == NULL);