PetterS / quickjs

Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
177 stars 19 forks source link

PythonCallableNode storage #83

Closed qwenger closed 2 years ago

qwenger commented 2 years ago

Currently a linked list, which means linear time access in js_c_function and deallocation in context_dealloc.

Replace it with a dynamically allocated array indexed by the magic.