)]}'
{
  "commit": "5b9a0a9c12960e303d312656da4d49c8997b617d",
  "tree": "d3911fc466227fc2d94d3f743b47c42bf60142f3",
  "parents": [
    "987416db22712d0b5c666be08a148946ce4b9bdb"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Wed Sep 12 19:09:06 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Sep 12 19:09:06 2018 +0000"
  },
  "message": "Optimize CPDF_CMapParser\n\nIn this parser, a vector of CodeRange values are built up during\noperations that need to be sync\u0027d with the CPDF_CMap that is being\ninitialized. In the existing implementation, the vector being built as\na member var for the parser, and copying the values over to the cmap\nwhenever there is a change. When profiling, this copy is where the code\nspends most of its time.\n\nThe code has been rewritten to have the parser reference/modify the\ninstance of the vector in the cmap instead of having its own copy. This\nremoves all of the copies and significantly speeds things up.\n\nBUG\u003dchromium:881678\n\nChange-Id: Ib8e75962507ca3d3b1ed066fd1faa4fbb7141122\nReviewed-on: https://pdfium-review.googlesource.com/42350\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\nReviewed-by: Henrique Nakashima \u003chnakashima@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "228c2078760d687bda63a6ef4d60d68372a7c870",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmap.h",
      "new_id": "68ad26cfa3244f6df0debd91c2c57b08198478a6",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmap.h"
    },
    {
      "type": "modify",
      "old_id": "a88448c5bd116d76dd6c86a4fd217193752758a8",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmapparser.cpp",
      "new_id": "5bfe17b34fb9ac4dd1110328cb37e29f16a59135",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmapparser.cpp"
    },
    {
      "type": "modify",
      "old_id": "c70d408f9090fcd8ebb19fc35df978f4781e476a",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmapparser.h",
      "new_id": "fae65cfe00c3e4126ca448783d4a2a7364a999d7",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmapparser.h"
    }
  ]
}
