)]}'
{
  "commit": "f52a5e29712d531d6948c630662de638fe39851f",
  "tree": "f6b51a2959cbdd41e2bd622fd6df32ac29b68f1a",
  "parents": [
    "4d79dabb6c2707ad137214baf2c3df41a2778b08"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Tue Aug 20 23:49:41 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Aug 20 23:49:41 2019 +0000"
  },
  "message": "Make CPDF_CMap initialization slightly more efficient.\n\nCPDF_CMapParser is a short lived class that initializes a CPDF_CMap. For\na CPDF_CMap\u0027s |m_MixedFourByteLeadingRanges| vector, the parser\ninitializes it by reading out of it and then appending to it. This\nrequires CPDF_CMap to have 2 public methods, with the append method\nappending one element at a time.\n\nImprove upon this by removing those two methods and instead first let\nCPDF_CMapParser hold on to the vector as |m_Ranges|. Since the parser\nhas direct access to both |m_Ranges| and |m_PendingRanges|, it can move\nelements into |m_Ranges| in bulk. When the parser is done, it can use\nthe newly added CPDF_CMap::SetMixedFourByteLeadingRanges() to move\n|m_Ranges| to CPDF_CMap.\n\nChange-Id: I6e6e339296a08a210b925efc278b490a457f8026\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/59513\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3fb122fd165e8263f7785b1fed2eee705ba45f01",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmap.cpp",
      "new_id": "81ee02d3d578712726915758cbbe721104d7f883",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmap.cpp"
    },
    {
      "type": "modify",
      "old_id": "f0f3a9455a6cbb2b41dc861cbd50b67f4bd56cfe",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmap.h",
      "new_id": "c9dc61f9189cae6ba11082d3d6dfda53c1ce1077",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmap.h"
    },
    {
      "type": "modify",
      "old_id": "1936ee67a459a8f2a4b9366d78c52036a0e55521",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmapparser.cpp",
      "new_id": "1ef8a7cc5af0d772e4a97a764c2ac2b4bd9a86a8",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmapparser.cpp"
    },
    {
      "type": "modify",
      "old_id": "2fe37a41240590548d93c85fffaa7fb4e1ca8c6b",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmapparser.h",
      "new_id": "f24a93be2f503fda5bf5a1c6d7fa4f9ca47a8b82",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmapparser.h"
    }
  ]
}
