• @catloaf@lemm.ee
    link
    fedilink
    English
    108 months ago

    Yeah, but that doesn’t mean you should allocate a billion arrays just because the memory is managed for you. It’s still inefficient.

    • @nyan@lemmy.cafe
      link
      fedilink
      English
      28 months ago

      You don’t need to understand the details of how memory is allocated to understand that taking up too much space is bad, and that there’s often a tradeoff between programmer time, machine execution time, and memory allocated, though.