MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

switch DataViewData allocation to arena allocator in buffer.c

+1 -1
+1 -1
src/modules/buffer.c
··· 792 792 byte_length = buffer->length - byte_offset; 793 793 } 794 794 795 - DataViewData *dv_data = ant_calloc(sizeof(DataViewData)); 795 + DataViewData *dv_data = ta_arena_alloc(sizeof(DataViewData)); 796 796 if (!dv_data) return js_mkerr(js, "Failed to allocate DataView"); 797 797 798 798 dv_data->buffer = buffer;