)]}'
{
  "commit": "5667505f3505738d3319c3a3067c847b864c96b8",
  "tree": "1d83181e28d32972dd8c4d43bc22cd338a4bef64",
  "parents": [
    "6418b33f21d3541f7a9678b29dacd53fcf58ab4f"
  ],
  "author": {
    "name": "Andrew Hunter",
    "email": "ahh@google.com",
    "time": "Tue Oct 06 14:13:10 2015 -0700"
  },
  "committer": {
    "name": "Keir Mierle",
    "email": "mierle@gmail.com",
    "time": "Tue Dec 08 01:09:07 2015 +0000"
  },
  "message": "Align Jet matrices where supported\n\nWe currently don\u0027t align the infinitesimal part of a Jet to a 16-byte\nboundary (and thus force Eigen to avoid using SSE ops)--as a member of a\nlarger struct, we couldn\u0027t guarantee Jets would be allocated on\nappropriately-aligned boundaries.  However, C++11 adds better support\nfor requesting alignment: we can use it to guarantee the members will be\nproperly aligned, and tell Eigen to vectorize.\n\nThere is a significant gotcha here: the standard gives wide latitude to\nimplementations as to which alignments they choose to support.  If we\nask for 16 and the system only supports 8, we may have misaligned\nJets. So we test (using alignof(std::max_align_t)) that the current\nsystem supports 16-byte aligned values; if not, we fall back to the\ncurrent solution.\n\nTwo other small notes:\n- This is obviously gated on C++11 support, and\n  thus we put the logic in port.h and export some useful #defines.\n\n- GCC 4.8.x has a\n  bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id\u003d56019) that has\n  max_align_t in the wrong namespace.  This will not be a problem with a\n  modern GCC, but add a small workaround since many systems still ship 4.8.\n\nThis results (on a x86 workstation) in a 60% speedup in Jacobian\nevaluation on bin/simple_bundle_adjuster problem-16-22106-pre.txt.\n\nChange-Id: I169b637a1e2a106956b536c41d6a514a266e7cc0\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e57049dde4b70079bcadd1176a9a91d3114f612e",
      "old_mode": 33188,
      "old_path": "include/ceres/internal/port.h",
      "new_id": "1193fcfcb8439e11a37e6d351848ef121cdb3ad5",
      "new_mode": 33188,
      "new_path": "include/ceres/internal/port.h"
    },
    {
      "type": "modify",
      "old_id": "a21fd7adb901faf13e5a3d8d492bbfb9c9b0603a",
      "old_mode": 33188,
      "old_path": "include/ceres/jet.h",
      "new_id": "8515be8440ae018738feef30ca30a02926e65bb3",
      "new_mode": 33188,
      "new_path": "include/ceres/jet.h"
    }
  ]
}
