Damus
note1vag0r...
Jacob Christian Munch-Andersen profile picture
@nprofile1q... @nprofile1q... That is probably mostly an artefact of coding around the garbage collector. An array of 1M objects with 10 simple values each is 1000001 objects, whereas 10 arrays of 1M simple values each is 10 objects.

You have effectively broken garbage collection, but you have also reduced the number of objects that the collector has to consider so much that even a quite badly coded collector can't do much performance damage.
1
Wolf480pl · 13w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqq2q3v2cfmwnz8nhmv3wvva5vgmmkdty0gd5kd7mpn9smkplzjuusts26t9 nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqpu3ryltaaqjym9gj5fpcv623edtfh2vuvrtcd8pz75p6nlyt0nrqwf22w0 makes sense.... I should start doing that in Golang then!