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
Fabrice Bellard
090685a8c2
update test results
2024-01-27 13:12:37 +01:00
Fabrice Bellard
c9509664ab
update test results
2024-01-11 15:28:12 +01:00
Fabrice Bellard
3ab1c2b314
added 'in' operator for private fields
2024-01-02 16:11:20 +01:00
Fabrice Bellard
16057644f3
class static block (initial patch by bnoordhuis)
2024-01-02 16:10:43 +01:00
Fabrice Bellard
5c120cd471
added Error cause
2024-01-02 16:08:08 +01:00
Fabrice Bellard
a47f40cde8
added RegExp 'd' flag (bnoordhuis)
2023-12-27 17:19:44 +01:00
Fabrice Bellard
5fc27dc7cf
added Promise.withResolvers
2023-12-27 17:19:25 +01:00
Fabrice Bellard
feefdb1742
added Array.prototype.{with,toReversed,toSpliced,toSorted} and TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis)
2023-12-27 17:19:00 +01:00
Fabrice Bellard
c2c773e135
added Object.groupBy and Map.groupBy (initial patch by bnoordhuis)
2023-12-27 17:18:39 +01:00
Fabrice Bellard
4876f72a1a
added String.prototype.isWellFormed and String.prototype.toWellFormed
2023-12-27 17:16:47 +01:00
Fabrice Bellard
b8791e9b4a
fixed detached TypedArray in sort()
2023-12-27 17:13:44 +01:00
bellard
b5e62895c6
2021-03-27 release
2021-03-27 11:17:31 +01:00
bellard
b1f67dfc1a
2020-11-08 release
2020-11-08 14:30:56 +01:00
bellard
7c312df422
2020-09-06 release
2020-09-06 19:10:15 +02:00
bellard
8900766099
2020-07-05 release
2020-09-06 19:07:30 +02:00
bellard
1722758717
2020-04-12 release
2020-09-06 19:04:20 +02:00
bellard
383e2b06c8
2020-03-16 release
2020-09-06 19:02:03 +02:00
bellard
0e8fffd4de
2020-01-19 release
2020-09-06 18:57:11 +02:00
bellard
91459fb672
2020-01-05 release
2020-09-06 18:53:08 +02:00