Blocking and some random attempts to make things faster.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3843 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-02-21 02:28:53 +00:00
parent 4bb095e81f
commit f4b46cc3a0
7 changed files with 125 additions and 41 deletions

View File

@ -393,7 +393,7 @@ static JSValue _import_call(JSContext* context, JSValueConst func_obj, JSValueCo
import->_useCount++;
JSValue array = JS_NewArray(context);
JS_SetPropertyUint32(context, array, 0, JS_DupValue(context, this_val));
JS_SetPropertyUint32(context, array, 0, JS_UNDEFINED);
for (int i = 0; i < argc; ++i)
{
JS_SetPropertyUint32(context, array, i + 1, JS_DupValue(context, argv[i]));