PetterS / quickjs

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

Fix #83, #85 #89

Closed qwenger closed 2 years ago

qwenger commented 2 years ago

Fix #83, fix #85.

Use a dynamic array instead of a linked list for O(1) access, check for maximal callables amount, check for returned errors in QuickJS calls, add unit tests.

qwenger commented 2 years ago

For now, the limitation of max. 65536 (65535 in this implementation) callables comes from upstream.