)]}'
{
  "commit": "027d730547d4296bc40be50462e5a70973f009e2",
  "tree": "7867c2e01baf0b42dabb1109fa221218ae1b4acb",
  "parents": [
    "322063822f66533bb81ef8e938fd07e5f6394917"
  ],
  "author": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Sun Nov 29 11:31:48 2026 +0100"
  },
  "committer": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Sun Nov 29 12:28:26 2026 +0100"
  },
  "message": "Reserve the result of dump() in big steps once the output is big\n\ndump() appended to an empty string, which reallocates and copies the output\neach time it doubles; with glibc every new big block is fresh memory that is\nfaulted in page by page. dump() now uses its own output adapter: the first\nwrite of at least 512 characters reserves 1 MiB, and four times as much\nwhenever that is not enough, up to 64 MiB. Smaller outputs never reserve.\nString types without reserve() keep appending.\n\nSigned-off-by: Niels Lohmann \u003cmail@nlohmann.me\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eeeb2874b341bb322e5a944d537ba228ce219d3f",
      "old_mode": 33188,
      "old_path": "docs/mkdocs/docs/api/basic_json/dump.md",
      "new_id": "4752229495b9cd723468692f13fb8db78439bb8a",
      "new_mode": 33188,
      "new_path": "docs/mkdocs/docs/api/basic_json/dump.md"
    },
    {
      "type": "modify",
      "old_id": "b1ea305b9b36d9d9659ae7caa8325aa52c2cd207",
      "old_mode": 33188,
      "old_path": "include/nlohmann/detail/output/output_adapters.hpp",
      "new_id": "70b6b72ede9727569446e0ea5b1e739906ba65e4",
      "new_mode": 33188,
      "new_path": "include/nlohmann/detail/output/output_adapters.hpp"
    },
    {
      "type": "modify",
      "old_id": "ea5977460f450fc5910324f413668b515d08d1e5",
      "old_mode": 33188,
      "old_path": "include/nlohmann/json.hpp",
      "new_id": "d7d7b8e3d18bebfbb622590ee01af77aea821aab",
      "new_mode": 33188,
      "new_path": "include/nlohmann/json.hpp"
    },
    {
      "type": "modify",
      "old_id": "44a5b6cd1db580178eb9fa1ed4069dadc688045e",
      "old_mode": 33188,
      "old_path": "single_include/nlohmann/json.hpp",
      "new_id": "e854a121246ddbe76806bfb72782c89aff1c1de9",
      "new_mode": 33188,
      "new_path": "single_include/nlohmann/json.hpp"
    },
    {
      "type": "modify",
      "old_id": "add4e199c99f6dba210c1172fce0d467c2812f5d",
      "old_mode": 33188,
      "old_path": "tests/src/unit-alt-string.cpp",
      "new_id": "273a09899a6f5601ab896289e91f5fccc2f7b05d",
      "new_mode": 33188,
      "new_path": "tests/src/unit-alt-string.cpp"
    },
    {
      "type": "modify",
      "old_id": "5638435ca9a7e7304596e85fde472cde57187a2b",
      "old_mode": 33188,
      "old_path": "tests/src/unit-binary_writer_sinks.cpp",
      "new_id": "3140c09470b8464274c2a371181031e486c33c3d",
      "new_mode": 33188,
      "new_path": "tests/src/unit-binary_writer_sinks.cpp"
    },
    {
      "type": "modify",
      "old_id": "e2a41f272f9f22e8841d43677f63ebcf09a896e7",
      "old_mode": 33188,
      "old_path": "tests/src/unit-serialization.cpp",
      "new_id": "f4c81fd063a3d052b668baa50a20640860fa3cf5",
      "new_mode": 33188,
      "new_path": "tests/src/unit-serialization.cpp"
    }
  ]
}
