Elektrine lite

← Feed

@Sasquatch@lemmy.ml

Post #1496943

2026-04-21 13:50 UTC

im not sure how malloc() works, but I would guess it would attempt to squeeze new allocations into partially-filled memory pages, right? Wouldn’t that largely offset the inefficiency?

Replies (1)

  • @tomalley8342@lemmy.world 2026-04-21 16:16

    Transfers to cache get brought in much smaller sizes than a memory page so I can’t imagine an automated treatment like that from the heap end would be effective. However there are ways to lay out linked lists in memory so that it is more friendly to cache

    Open ##1511937