]> git.kaiwu.me - quickjs.git/commit
Faster context creation and exception checks in JS_NewContext (#404)
authorFabrice Bellard <fabrice@bellard.org>
Sat, 11 Oct 2025 08:59:21 +0000 (10:59 +0200)
committerFabrice Bellard <fabrice@bellard.org>
Sat, 11 Oct 2025 08:59:21 +0000 (10:59 +0200)
commit42eb2795f0daec0adddb0392823a27a64b676169
treea6c99b6b15f1df37e0f2f293b36e400525566419
parent7a488f3e0c1c03699c069bc04f5ce5f1c7f3414a
Faster context creation and exception checks in JS_NewContext (#404)

- simplified internal object init
- check exceptions in JS_NewContext()
- preallocated std object properties
- preallocated more atoms
quickjs.c
quickjs.h