)]}'
{
  "commit": "bb99a22cd15effa9f7e59d5c1df1907161a1f1fb",
  "tree": "8da15247af5a8759bd47b7f9203086f7a31fb1d1",
  "parents": [
    "067fc74ae0f592c77c545eded0fa7821542517df"
  ],
  "author": {
    "name": "hernan",
    "email": "hernan@rive.app",
    "time": "Wed Nov 04 10:56:37 2026 -0800"
  },
  "committer": {
    "name": "hernan",
    "email": "hernan@rive.app",
    "time": "Wed Nov 04 10:56:37 2026 -0800"
  },
  "message": "perf(runtime): share bind paths and hold bound values inline when instancing artboards (#15411)\n\n* perf(runtime): share a data bind\u0027s source path with its source\n\nEach clone of a data bind copied its source path, a vector of ids, into a\nnew allocation, though the instances of an artboard bind to the same\npaths. A bind\u0027s path, and a view model operation converter\u0027s, now sits in\na SharedSidecar that a clone shares with the bind it was cloned from. A\nname based path that resolves to something else gets its own copy when\nit does. Reading a path sizes it once from its encoded ids instead of\ngrowing it an id at a time.\n\nIn the HUD perf tray, an added leaderboard row makes 9 fewer allocations\n(503 to 494); a lap row makes 6 fewer.\n\n* perf(runtime): size a cloned converter group\u0027s items once\n\nA cloned converter group added its cloned items one at a time, growing\nits list as it went. It now sizes the list from its source first.\n\nIn the HUD perf tray, an added leaderboard row makes 2 fewer allocations\n(494 to 492), as does a lap row.\n\n* perf(runtime): keep a bound value inside its data bind\u0027s context value\n\nBinding a data bind made its context value, then a data value for the\nsource\u0027s value in an allocation of its own, which the context value holds\nfor as long as it lives. The value is now built in storage inside the\ncontext value: 32 bytes, the largest a source makes (a string or a list),\nchecked at compile time for each type built there. A context value grows\nfrom 32 to 64 bytes, so a string\u0027s bind takes the same memory in one\nallocation, and a number\u0027s takes 16 bytes more.\n\nIn the HUD perf tray, an added leaderboard row makes 9 fewer allocations\n(492 to 483), and allocates 128 bytes more; a lap row makes 6 fewer.\n\n* fix(runtime): size a context value\u0027s storage from the values it holds\n\nA context value held its source\u0027s value in 32 bytes, the size of a\nstring or list data value with libc++. With libstdc++ a std::string is\n32 bytes, so a string data value is 40 and the build stopped on the\nsize check. The storage is now sized and aligned for the string and the\nlist data values, the largest a source makes and the ones whose size\ndepends on the standard library.\n\nRive-Mono-Commit: 6459c00d00fb7e53bc7fe99827cbd16fbc269d3c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b3f12288d85111a71aca326cc675cc8959910a5",
      "old_mode": 33188,
      "old_path": "include/rive/core/binary_reader.hpp",
      "new_id": "30b8796b1e1190a3d247261cba611c03aaec9196",
      "new_mode": 33188,
      "new_path": "include/rive/core/binary_reader.hpp"
    },
    {
      "type": "modify",
      "old_id": "b874220cb67f27127df9b365e7abb20ed7d67284",
      "old_mode": 33188,
      "old_path": "include/rive/data_bind/context/context_value.hpp",
      "new_id": "204f2ec99c59e4e959b6c7f6b99b20924f64eed7",
      "new_mode": 33188,
      "new_path": "include/rive/data_bind/context/context_value.hpp"
    },
    {
      "type": "modify",
      "old_id": "b32f550730f7a23cc97943c1465062dcf914b9c7",
      "old_mode": 33188,
      "old_path": "include/rive/data_bind/converters/data_converter_operation_viewmodel.hpp",
      "new_id": "5523eb306fd1b382cd3fa8e518700049eae14c9e",
      "new_mode": 33188,
      "new_path": "include/rive/data_bind/converters/data_converter_operation_viewmodel.hpp"
    },
    {
      "type": "modify",
      "old_id": "b75be55c0bb6e56bf8e91c1a74f4340c6daabc6d",
      "old_mode": 33188,
      "old_path": "include/rive/data_bind/data_bind_context.hpp",
      "new_id": "de32e01d52d8f6bc7abfb8847133a2010b483cdb",
      "new_mode": 33188,
      "new_path": "include/rive/data_bind/data_bind_context.hpp"
    },
    {
      "type": "modify",
      "old_id": "5f657d1231d2ac26a85a876f44431455046fb3f3",
      "old_mode": 33188,
      "old_path": "src/data_bind/context/context_value.cpp",
      "new_id": "a78fa9ac9913cabcf54fc15b2a1701228b9b1b55",
      "new_mode": 33188,
      "new_path": "src/data_bind/context/context_value.cpp"
    },
    {
      "type": "modify",
      "old_id": "8714f0aab99190a21732403ad3b0274b5f9b0a0b",
      "old_mode": 33188,
      "old_path": "src/data_bind/converters/data_converter_group.cpp",
      "new_id": "a8d793e35c702261ce15b27df7c232343c259505",
      "new_mode": 33188,
      "new_path": "src/data_bind/converters/data_converter_group.cpp"
    },
    {
      "type": "modify",
      "old_id": "5c2850e9164c93a85dae15ecda9736f28f44325f",
      "old_mode": 33188,
      "old_path": "src/data_bind/converters/data_converter_operation_viewmodel.cpp",
      "new_id": "0b9802d1e29c77934f2e0889136d27965d5a3bfb",
      "new_mode": 33188,
      "new_path": "src/data_bind/converters/data_converter_operation_viewmodel.cpp"
    },
    {
      "type": "modify",
      "old_id": "9f04deca960fab9ad6d4292b4f52f9b16e10a4c6",
      "old_mode": 33188,
      "old_path": "src/data_bind/data_bind_context.cpp",
      "new_id": "4c6aac4ba3ce368ee34090b5b520ca66945c7e11",
      "new_mode": 33188,
      "new_path": "src/data_bind/data_bind_context.cpp"
    },
    {
      "type": "modify",
      "old_id": "5ffd948b7e4cd98c5fdf9ba55dbbcbd6dfd197c4",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/runtime/data_bind_container_test.cpp",
      "new_id": "da365a338d10ace777a220402b3f62f02a19ab1e",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/data_bind_container_test.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "73cffcfca25aade4a14ef72542c78972919e3a18",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/data_bind_sharing_test.cpp"
    }
  ]
}
