766
firefox rule (slrpnk.net)
submitted 2 weeks ago by blibla@slrpnk.net to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] AVincentInSpace@pawb.social 3 points 2 weeks ago* (last edited 2 weeks ago)

Oh, I totally agree. Being afraid to call out to the allocator because "hey, I might need that memory later" is kinda not great. To a certain extent I can see how if an application tends to thrash memory, making a kajillion syscalls might hurt performance, enough that on many machines the gains from doing a single big allocation on the system and then slicing it up into small allocations in-process might outweigh the downsides, but still...

this post was submitted on 26 Nov 2024
766 points (97.5% liked)

196

16656 readers
2760 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS