• @catloaf@lemm.ee
    link
    fedilink
    English
    107 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
      27 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.