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

    interesting! it should be equal since it’s always just a pointer to that same table.

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      I just never tried, so amn’t entirely sure.

      Iirc I needed a json lib on Windows, or was just fed up with compiling things for some reason, and used dkjson instead of cjson. It turned out to be more than adequate, as is pretty typical for Lua-only code. Although it can use the LPeg lib to speed up parsing.

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        1
        ·
        19 minutes ago

        yeah there’s a lot of regex in there so i definitely get wanting some compiled parts.