Join Nostr
2026-10-21 20:31:11 UTC
in reply to

solo on Nostr: he's saying that allocating an array with new has worse performance because it stores ...

he's saying that allocating an array with new has worse performance because it stores the length of the array for when it later de-allocates it

and like.. no?
the performance is worse because that's a pointer and not on the stack....
*anything* that's dynamically allocated has a similar datastructure held by the memory allocator