)]}'
{
  "commit": "13ebd67cf8ea756a0e82eaa03f0f4a9581ccf9be",
  "tree": "2010da08cc29d7251093b99a1d2bef3553888951",
  "parents": [
    "bbb32f3f3c487de5e133b74026df72150974d7a5"
  ],
  "author": {
    "name": "Taras Tsugrii",
    "email": "ttsugrii@fb.com",
    "time": "Thu Aug 02 04:31:12 2018 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Thu Aug 02 04:32:39 2018 -0700"
  },
  "message": "[Skylark] Speed up string.partition function.\n\nAccording to JMH using `ImmutableList.of` or `Arrays.asList` is ~2X faster\nthan using existing approach of creating an empty `ArrayList` with expected\nsize and populating it using `add` method. This is most likely due to extra\nrange and capacity checks.\n\nReturning `ImmutableList` instead of `ArrayList` avoids the need to copy it\nagain in order to create a `SkylarkTuple`.\n\nThese changes speed up the function by ~3X.\n\nCloses #5736.\n\nPiperOrigin-RevId: 207079605\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7d4cbb6bd918b6575cfc9e77ccb325f33ece0bda",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/syntax/StringModule.java",
      "new_id": "482ab6dca1067b50b39d686ac73ce4bb4779db5d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/syntax/StringModule.java"
    }
  ]
}
