• lime!@feddit.nu
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    can’t a jit move things around enough that a linked list could be transformed into a memory-backed array if the access pattern requires it.

    • thebestaquaman@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      Sure it can, as long as it retains behaviour according to whatever standard it needs to comply to. My point was rather that I would be very surprised if the actual implementation (at memory level) was a linked list.