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-02-10 16:19:17 +01:00
2024-05-30 15:49:31 +02:00
2024-02-17 21:54:19 +01:00
2024-02-17 21:54:19 +01:00
2024-02-11 18:38:47 +01:00
2024-02-10 16:19:17 +01:00
2024-05-05 19:54:47 +02: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
2020-09-06 19:10:15 +02:00