diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2025-03-22 10:54:21 +0100 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2025-03-22 10:54:21 +0100 |
commit | 49413985ebb00315443597f5e04d0df1418ffdbc (patch) | |
tree | 4fd5a86fb329f50a6a3ba7a88d3c15f8897737e3 /quickjs.c | |
parent | 9f65ef1950c61e20800b8f84da2082b35bbb894c (diff) | |
download | quickjs-49413985ebb00315443597f5e04d0df1418ffdbc.tar.gz quickjs-49413985ebb00315443597f5e04d0df1418ffdbc.zip |
fixed hash_map_resize() - added Map/WeakMap in microbench
Diffstat (limited to 'quickjs.c')
-rw-r--r-- | quickjs.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -46186,7 +46186,6 @@ static void map_hash_resize(JSContext *ctx, JSMapState *s) sizeof(new_hash_table[0]) * new_hash_size, &slack); if (!new_hash_table) return; - new_hash_size += slack / sizeof(*new_hash_table); for(i = 0; i < new_hash_size; i++) init_list_head(&new_hash_table[i]); |