landerlyoung 6b073afcb9 Change JSObject.weak_ref_list to use a bit and external hash table.
1. Add a generic hashmap implementation.
2. Change Error `JSObject.is_uncatchable_error` flag to `JSObject.u.error` struct, leaving room for weak ref flag bit.
3. Compat `JSString.hash_next` to 31-bits (can be safely compat to 28-bits), leaving room for weak ref flag bit.

Save memory for each JSObject (8 bytes on 64-bit platform, 4 bytes on 32-bit platform).
2024-08-14 12:06:20 +08:00
2024-05-10 01:57:55 +02:00
2024-08-06 21:02:22 +08:00
2024-02-10 16:19:17 +01:00
2024-05-09 12:36:12 +02:00
2024-02-19 01:13:07 +01:00
2024-01-19 10:18:32 +01:00
2024-03-22 00:47:17 +01:00
2024-03-22 11:23:33 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-05-30 15:36:20 +02:00
2024-08-06 21:02:22 +08:00
2024-02-10 16:19:17 +01:00
2024-08-06 21:02:22 +08:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-08-06 21:02:22 +08:00
2020-09-06 18:53:08 +02:00
2024-02-10 16:19:17 +01:00
2024-03-02 14:36:44 +01:00
2024-02-18 15:00:04 +01:00
2024-08-06 21:02:22 +08:00
2020-09-06 18:53:08 +02:00
2024-02-10 20:54:29 +01:00
2024-02-10 16:19:17 +01:00
2023-12-05 16:51:16 +01:00
2024-02-15 10:30:04 +01:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Description
Public repository of the QuickJS Javascript Engine.
Readme MIT 28 MiB
Languages
C 94.1%
JavaScript 5.3%
Makefile 0.5%
Shell 0.1%