)]}'
{
  "commit": "25b997d798dbe08d2b2dbd9414ed3747e1918889",
  "tree": "c2c9c1e493e1e41255dc6ef93cdf68b8a2b5e382",
  "parents": [
    "b782c5af17f7fe17f4024098959e20c99381bf14"
  ],
  "author": {
    "name": "Noriyuki Takahashi",
    "email": "noriyukit@google.com",
    "time": "Sat Jan 31 09:02:05 2015 +0000"
  },
  "committer": {
    "name": "Yohei Yukawa",
    "email": "yukawa@google.com",
    "time": "Sat Jan 31 09:02:05 2015 +0000"
  },
  "message": "Refactor LOUDS trie by introducing a new API set for traversal\n\nLouds::Node structure is introduced to represent the position in the tree during traversal.  Three basic movements are implemented: 1) go to the first child, 2) go to the next sibling, and 3) go to the parent.  This new design brings a few benefits:\n* Intermediate traversal state can be saved (e.g., incremental search can be implemented).\n* Similar pieces of code in ExactSearcher, PrefixSearcher and PredictiveSearcher are factored out, so new code looks more concise and intuitive.\n* New APIs take StringPiece instead of const char*.\n\nUsing the new APIs, LoudsTrie::HasKey is introduced, which is a faster modification of LoudsTrie::ExactSearch to test the existence of key, where one Rank1 operation is saved compared to ExactSearch.  This is nice because HasKey is called more often than before, e.g., from LanguageAwareRewriter.\n\nAlso, in LoudsTrie::Reverse, which is renamed to LoudsTrie::RestoreKeyString, one Rank0 operation is eliminated in the loop of key string reconstruction.  Namely, N operations are saved for keys of length N.\n\nBenchmark shows no performance regression.  Also, this is just a code refactoring, no behavior change is intended.\n\nBUG\u003dnone\nTEST\u003dunittest,benchmark\n\ngit-svn-id: https://mozc.googlecode.com/svn/trunk@524 a6090854-d499-a067-5803-1114d4e51264\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1343b0bf0f6d54493a029619e2199b5ff908cf90",
      "old_mode": 33188,
      "old_path": "src/dictionary/system/system_dictionary.cc",
      "new_id": "9f1c4153c5913802ac5453c097a0afddab497ca4",
      "new_mode": 33188,
      "new_path": "src/dictionary/system/system_dictionary.cc"
    },
    {
      "type": "modify",
      "old_id": "09cb1d1989522ffb216c762d2d4945d950e64ea5",
      "old_mode": 33188,
      "old_path": "src/mozc_version_template.txt",
      "new_id": "447058aff06842a2f8ba3c4b857c56b64c755614",
      "new_mode": 33188,
      "new_path": "src/mozc_version_template.txt"
    },
    {
      "type": "modify",
      "old_id": "cd3369be55eeaf603bccff858ace9db6136d6a49",
      "old_mode": 33188,
      "old_path": "src/storage/louds/louds.h",
      "new_id": "74c8d9e0323fa2ab527fc243be4a3f3f8b09f373",
      "new_mode": 33188,
      "new_path": "src/storage/louds/louds.h"
    },
    {
      "type": "modify",
      "old_id": "470a31de2104f3c20ccf2facec3bcef4d1b54146",
      "old_mode": 33188,
      "old_path": "src/storage/louds/louds_trie.cc",
      "new_id": "2417157d44ecbee2bda01ac201142e85bdea4a33",
      "new_mode": 33188,
      "new_path": "src/storage/louds/louds_trie.cc"
    },
    {
      "type": "modify",
      "old_id": "e1f62c3e14df1ddc63b4d5db139f979ec1f53fb1",
      "old_mode": 33188,
      "old_path": "src/storage/louds/louds_trie.h",
      "new_id": "bf0f66f8bdb8584325e898f92e43a3c950196560",
      "new_mode": 33188,
      "new_path": "src/storage/louds/louds_trie.h"
    },
    {
      "type": "modify",
      "old_id": "342baa98956744c2d1bc0fc918399e94512e5533",
      "old_mode": 33188,
      "old_path": "src/storage/louds/louds_trie_test.cc",
      "new_id": "67350638f5b54390708fb46041cd63502853b031",
      "new_mode": 33188,
      "new_path": "src/storage/louds/louds_trie_test.cc"
    }
  ]
}
